MONDRIAN-1285 - ranking a double value within a list of integers