Fixed the sort for numbers upto 64