Sort list in reverse order instead of sorting then reversing