I have a transaction item (dictionary) with keys of, say…Name, Age, and City.
While processing the item, I add keys with Date and Result. Then I want to include Name, Age, City, Date, and Result in a confirmation email - but I want Date and Result first, not last.
Is there a way to change the order of the keys within a dictionary? Or if there’s a way to have it add a new key at the beginning instead of the end, that would work too.