Support sorting by relevance in code checking.