Edit Uncommented the sort function call