partially finished compareTo

this is just me saving so i don't lose this work