Speed up sorting of non-captures