Improved Sorting examples