Reverse match sorting