Fix brittle example test (sorting of keys in map)