reorder card ids