Kruskals is working but sort is not. Need to fix.