Improve sort example.