Sort search results by average match positions