Well it looks like I broke the distance resorting, should just need to fix that.