sort cards by set