The sort was useless, we're doing a match further on and it doesnt matter if the array is sorted