Divides the value range into a fixed number of equal-width buckets, scatters each element into its corresponding bucket, sorts each non-empty bucket independently, then concatenates all buckets in order.
When elements are uniformly distributed each bucket holds O(1) elements on average, making the total sort O(n); degrades toward O(n²) if many elements cluster into the same bucket.