All your code works perfectly!!!!!!!!!
I wanted this method to create a collection of pairs, but i wanted to sort for the to fields too.
inserting (1,20),(2,30),(5,10),(1,5),(2,30),(2,5) the result should stay like that:
(1,5)
(1,20)
(2,5)
(2,30)
(2,30)
(5,10)
I added this 3 methods to...