I know you didn't change this code, but how about using `.sortBy(prop => -(prop.relevance))`, to avoid the extra `reverse`.