Why is this not working?sortbykey - working.dyn (6.3 KB)
the keys are strings in the first version. - or maybe I misunderstanding whats not working.
have you read the example here:
I think you are misunderstanding the behavior of sort by key - it will sort the keys in ascending order - so you have assigned a the key 3, this will end up in position 4. - which it does.