added relevance sorting