Hi all,
Is it possible to sort index names based on their values?
For instance, could I have the following data set sorted as below:
option_3_score: 5
option_4_score: 4
option_2_score: 3
option_1_score: 2
option_6_score: 1
option_5_score: 0
Here's my code, but the sorting operator has no effect:
\define IndexValuesFound()
<$list filter="[[_data]getindex[$(matching_indexes)$]]">
<<currentTiddler>>
</$list>
\end
<$list filter="[[_data]indexes[]search[_score]]" variable="IndexNames">
<$set name=matching_indexes value=<<IndexNames>>>
<<IndexNames>><<IndexValuesFound>>
<br>
</$set>
</$list>
Thank you in advance for ideas and help.
Best,
Hubert