Fixed sort(). Now working on the rest of Kruskal.
No wI've actually fixed sort() :P. Kruskal still isn't making trees though...