Fixed node-pool key sorting algorithm.