public SchemaGeneratorGeneralConfigPart withPropertySorter(Comparator<MemberScope<?, ?>> propertySorter) {
        this.propertySorter = propertySorter;
        return this;
    }
Replacing the current sorting algorithm of properties (fields and methods).

@param propertySorter sorting algorithm for an object's properties
@return this builder instance (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaGeneratorGeneralConfigPart.java