The keys for the Orderedtable arrive in a random sequence and may be repeated.
The sequence associated with each key stores the step number on which the key arrives. If I get Keys of 3,2,5,9,2,3, the sequences for key 3 and 2 would have two items each (1,6) and (2,5) for Keys 2 and 3. If I ask for the last key in the ordered table I expect to be given the value 9. If I ask for the last item in the sequence attached to Key 3 I expect to get 5. Coming from VBA where this expectation was met exactly, I may be making unknown assumptions about how nim works. Is an orderedTable populated with seq a reasonable approach?