Change tie breaking/ranking sketch

Stop trying to do math and just do comparison