Is there a way to designate what order the pairs of a Julai dictionary are displayed in (without using OrderedDict)?
Elaboration: StructuralIdentifiability.jl takes a model, and assesses the identifiability of each parameter and initial condition. The output is a dict, mapping each component to its identifiability. I am making an extension which applies its functions to reaction network models (declared by Catalyst). It works, but the output jumbles parameters and initial conditions a little bit all over the place. For the user, it would be easier to go through the output if they were in a specific order. So ideally I would like to remake the output Dict before it is sent to the user, fixing the order which things are displayed. However, given that StrucutrualIdentifaibility.jl’s functions outputs (unordered) Dictionaries, I want my output of these functions to output the same type (this feels sensible), and hence not use OrderedDictionaries. Also, I do not care about the order for iterating through the dict or similarly, this is all about how it is displayed.
I tried just creating a new dict, and setting the entires one by one in the designated order. Unfortunately, this did not work.
I realise this might not be possible, but figured I’d ask at least.