Sort
    • PDF

    Sort

    • PDF

    Article summary

    Available in Classic and VPC

    This is a sorting criteria.

    Syntax

    The syntax is as follows.

    private String direction;
    private String property;
    private Boolean ignoreCase;
    private String nullHandling;
    private Boolean ascending;
    private Boolean descending;
    

    Field

    The following describes the fields.

    FieldTypeRequiredDescription
    directionStringRequiredSort direction
    • ASC | DESC
      • ASC: ascending
      • DESC: descending
    propertyStringRequiredSorting criteria field name
    ignoreCaseBooleanRequiredWhether to be case sensitive when sorting
    • true | false
    nullHandlingStringRequiredNull handling method
    • NATIVE | NULLS_FIRST | NULLS_LAST
      • NATIVE: Leave it to the data processing logic
      • NULLS_FIRST: Null values are pushed forward
      • NULLS_LAST: Null values are pushed back
    ascendingBooleanRequiredWhether the sort direction is ascending (ASC)
    • true | false
    descendingBooleanRequiredWhether the sort direction is descending (DESC)
    • true | false

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.