Is there a way to sort a record dataset after it's been queried? I have a list of records I got from a queryRecordType stored in a local variable that I am using in multiple places on an interface. I only want the record dataset to be sorted in a particular way for only one instance on the interface, but I want to leave it alone in all other instances, so I don't want to sort the data set within the initial queryRecordType call in the local variable. The only solution I've thought of is query the record again but this time sort it the way I want and store it in a new local variable or write my own expression rule to be able to sort records. I am not allowed to install plug-ins on my environment by the way.
Thanks!
Discussion posts and replies are publicly visible
See, querying a record is not as expensive as querying a table assuming you have sync enabled. So the first and most convenient option is query record again.
If you somehow really don't want to do that, then you will have to create a map (dictionary) first from your record data and then use the dictionary field as something that can be passed in the sortInfo of the paging configurations