A sort-key is a directive that locks onto a concept (the binding) and applies a sort direction (ASC|DESC|MIN|MAX
). You can use multiple sort-keys serially to break ties.
ASC
: smallest to largestDESC
: largest to smallestMIN
: choose the smallestMAX
: choose the largestsort-key (ASC) {
binding (lowRate)
}
sort-key (DESC) {
binding (rating)
}
sort-key (ASC) {
binding (distance)
}
The cascade of fallbacks is used only when there are ties, so in the context of hotels, this would translates to:
binding required | The concept against which a sort-key will be evaluated |
Copyright 2025 Samsung All rights reserved