I am a mathematic Ph.D student, and I use TiddlyWiki to manager my academic data, including papers, books, journals and scholars.
I hope to show the fields in which each scholar has published papers, as well as the number of papers published in each fields, it works since there is a field named “topics” in each paper tiddler, I just filter all the paper published by the scholar, and use enlist-input[] to obtain all the topics, and then use count[] to obtain the numbers. Here is my wikitext code
<$list filter="[prefix[$:/academic-lib/]has[topics]get[topics]enlist-input[]unique[]]" variable="topic">
<$let num={{{ [prefix[$:/academic-lib/]has[topics]regexp:topics<topic>count[]] }}}>
<tr><td align="right"><b><<topic>></b></td><td><<num>></td><td><$transclude tiddler=<<dict>> index=<<topic>>></$transclude></td></tr>
</$let>
</$list>
and this is the result
But now I hope to sort the topic by count number, how can I do this?
Thank you to everyone who took the time to read my post and to those who were willing to help.