ParentFull threadstefano·You could exploit the fact that you're sorting numbers and get a better time complexity:http://en.wikipedia.org/wiki/Radix_sorthttp://en.wikipedia.org/wiki/Bucket_sortView on HN