Order paths by relevance