Just reverse the matches instead of sorting them in reverse since they're already in document order