Added failsafe tile distance sort along with 3 top value randomization