Allow use of sortBy interface when sorting Collections.