bucket sort Algorithm

Bucket sort, or BIN sort, is a sorting algorithm that works by distribute the components of an array into a number of buckets. It is a distribution sort, a generalization of pigeonhole sort, and is a cousin of radix sort in the most-to-least significant digit flavor.

bucket sort source code, pseudocode and analysis