Fix NEAT link sorting.