fixing the sort function
0.1.2