presto-main/src/main/java/io/prestosql/operator/aggregation/FloatingPointBitsConverterUtil.java/FloatingPointBitsConverterUtil/floatToSortableInt
class FloatingPointBitsConverterUtil:    public static int floatToSortableInt(float value)
    {
        int bits = Float.floatToIntBits(value);
        return bits ^ (bits >> 31) & Integer.MAX_VALUE;
    }