Removed heapsort dependency on kruskal Node