re-sort card