The Order of Fields in Edit Mode

When you edit a tiddler, is there a simple way to display the fields at the bottom of tiddler in a custom order?
It seems TiddlyWIki in edit mode show fields of tiddler sorted by title.

Edit shadow tiddler $:/core/ui/EditTemplate/fields and change this line:

<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField" storyview="pop">

to

<$list filter="[all[current]fields[]] +[sort[title]sortby{$:/config/fieldSortOrder}]" variable="currentField" storyview="pop">

Then, create a tiddler named $:/config/fieldSortOrder and in the text field, enter the names of the fields, space-separated, in the desired custom order. Fieldnames that are not listed will be shown first, in default alpha order, followed by listed fields in the order specified in $:/config/fieldSortOrder.

4 Likes

Works as expected. Thank you Eric.