public static UnsafeExternalRowSorter.PrefixComputer createPrefixGenerator(StructType schema) {
        return createPrefixGenerator(mapToList(schema.fields(), f -> f.dataType));
    }
Creates the prefix computer for the first field in the given schema, in ascending order.
indexr-query-opt/src/main/java/io/indexr/query/util/SortPrefixUtils.java