Sorting for Assingment 6 (LinkedList stuff)