Null Values in Sorting Rules

For standard attributes, null values are handled identically for all data types. For dynamic attributes, you can configure whether you want a null value to be interpreted as a minimum, maximum, or average value using the dynamic attribute Default Value option.

Standard Attributes

If a sorting rule is based on a standard attribute, then null values are always added to the end of the result set, independent of the sorting direction.

Ascending values are sorted as:

1

2

3

null

null

Descending values are sorted as:

3

2

1

null

null

Dynamic Attributes

You can control how null values are sorted in dynamic attributes by setting the Default Value for the attribute.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.