Possibly increase speed slightly
Properly sort by IP