Sort

Define the sorting method for the custom list.