Sort an array of StarterSpeciesId based on a given criteria and direction.
StarterSpeciesId
An array of species IDs to be sorted
The criteria by which the species hould be sorted
The direction in which the species should be sorted
Sort an array of
StarterSpeciesIdbased on a given criteria and direction.