BasesViewConfig.getSort method
BasesViewConfig › getSort
Official
Retrieve the sorting config for this view. Sort is configured by the user through the sort toolbar menu. Removes invalid sort configs. If no (valid) sort config, returns an empty array. Does not validate that the properties exists.Note that data from
obsidian#BasesQueryResult will be presorted. Signature:
getSort(): BasesSortConfig[]Returns: BasesSortConfig[]
Since: 1.10.0