sort now works