Search

sort() ex 5

Formula Example Supporter
description
Sorting a list of pages provided with an expression. - This will sort the list according to the page or the property specified in the expression.
example tags
formula
sort(prop("Tasks"), current.prop("Status")) - Let’s say there’s a relation property named Tasks containing three items: [Item 1, Item 2, Item 3]. Each item has a status property called Status: - Item 1 with status Not Started - Item 2 with status In Progress - Item 3 with status Done The sorting will follow alphabetical order based on the status property, resulting in: [Item 3, Item 2, Item 1]
linked blog post
results