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

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c638e87-6c3c-4d45-b6b5-c24f0904987c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to