Date & Name Sorting; Sorting helper methods.