sort cores alphabetically