completed rearrange optimization (cards that can definitely be discarded will be moved to the front of the discard queue.