Thanks, This should be quicker!
I will inform you my findings using this new improved one!

--Mohammad

On Sunday, December 1, 2019 at 3:56:40 PM UTC+3:30, Eric Shulman wrote:
>
> On Sunday, December 1, 2019 at 2:34:59 AM UTC-8, Mohammad wrote:
>>
>> Nice solution Eric! I tested this for hundreds of tiddlers (created by 
>> TiddlerCommander) and it seems a bit slow but works great!
>> I gonna to use this in my Dynamic Tables macro in Shiraz 2.0.0 plugin!
>>
>
> hmm... I just realized that it can be nominally less compute intensive... 
> you don't actually need to use "fixed[3]removeprefix[0.]"
>
> As long as the numbers are divided by a large enough power of 10 to shift 
> all the values to the right of the decimal, they will be correctly "zero 
> padded" for purposes of sorting numerically
>
> Thus:
> \define getitems()
> <$list filter="[tag[test]]">
>    <$text text="[["/>{{{ [<currentTiddler>getindex[ia]divide[1000]] }}};<<
> currentTiddler>><$text text="]]"/>
> </$list>
> \end
>
> -e
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/14bf5a3d-33b5-41fc-925d-2dc768efb023%40googlegroups.com.

Reply via email to