Improved usability of sortBy