IBM interview question

Sort an array using Bucket Sort