Sort Order in Data Tiddlers Question

76 views
Skip to first unread message

TonyM

unread,
Jan 8, 2020, 7:47:50 PM1/8/20
to TiddlyWiki
Folks,

Using the following code I am extracting a list of field names from a dictionary tiddler, and retrieving the description

<$list filter="[[fields-dictionary]indexes[]]" variable=fieldname>
  <$checkbox field=<
<fieldname>>  checked="yes" unchecked="no" default="no"> <$text text={{{ [[fields-dictionary]getindex<fieldname>] }}}/></$checkbox><br>
</$list>
A checkbox allows the field to be created and set.

The Question?
As you can see I am not including a sort operator, so I would hope the result would be in the order stored in the fields-dictionary dictionary tiddler, however it is in alphabetical order.

Is there a way to retrieve the data in a data tiddler in is raw order?

Or am I forced to setup a seperate list and use the sortby Operator?

Thanks in advance
Tony

Mohammad

unread,
Jan 8, 2020, 9:44:24 PM1/8/20
to TiddlyWiki
Hi Tony
 Eric Shulman has invented a method to do this! If you make a search in forum you find it!
Of course the procedure is a little costly!

--Mohammad

TonyM

unread,
Jan 9, 2020, 12:03:15 AM1/9/20
to TiddlyWiki
Mohammad,


However that is about sorting the titles of the tiddlers in which an index occurs, as IO read it a different question.

I wand the data tiddler indexes returned unsorted. But this search is not bearing fruit either.

Thanks anyway.

Regards
Tony

Mohammad

unread,
Jan 9, 2020, 12:43:32 AM1/9/20
to tiddl...@googlegroups.com
Tony 
have a look at

in the same thread!

It returns dataTiddler indexes with the sort method you like

--Mohammad

TonyM

unread,
Jan 9, 2020, 5:44:02 AM1/9/20
to TiddlyWiki
Mohammad

Sorry i just cant see how. Keep in mind i dont want any sorting at all.

I will look more deeply tomorrow.

Regards
tony

Reply all
Reply to author
Forward
0 new messages