Added better sorting based on hitcount