Hi all,
I am able to pull the case list based on some basic filtering, but my case the list is about 100 alphabetical case names, and the list is not showing up in alphabetic order. Is there a way to sort this list? Maybe a method when I make the instance tag? or maybe something in the itemset tag itself?
For reference, here is the relevant portion of my form. (I have also tried to change the value from @case_id to case_name to see if it was sorting based on the value, and it still comes back in random order)
<instance id="casedb" src="jr://instance/casedb"></instance>
<itemset nodeset="instance('casedb')/casedb/case[@case_type='household'][cluster=/data/ClusterID]">
<label ref="case_name"></label>
<value ref="@case_id"></value>
</itemset>
I know this isn't a Dimagi-supported feature but was hoping someone could point me in the right direction! Thanks!
P.S. Sorry for the double post... had a typo in the subject line :)