public static IntNode listSort(IntNode head)
largest = Integer.MIN_VALUE;
if(cursor.data > largest)
copyHead = new IntNode(target.data, copyHead);
this is the closest I have gotten so far. It works about half of the time, and the other half it is off by 1. I tested many different sets of numbers, it seems random when it does or does not work.