sort example fix