adds set code and sorts cards alphabetically