Sorted test2

SortedLists and priorityQueue gives a speed advantage.