Default sort orders and displays can be set by administrators for users before they assert their sort preferences by configuring gallery sort properties as follows:

PropertyTypeDefaultDescription

image.default_search_order

string

image_file

This property sets the default order criteria for displaying Asset searches and must match a valid database column name.

image.defaultSortField

string

File

While users can override this default sort, this value will be presented to new users or users that have not made changes to the gallery sort. Available values include system and custom attribute names.

image.defaultSortOrderinteger0Setting this value to 0 will default the sort order to ascending; setting it to 1 will default the sort order to descending. Once a user has manually sorted the gallery, this setting will no longer take effect.