Great answer on [WayBack]*delphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow*by J… comes down to this: var LDictionary : TDictionary<Integer, string>; LArray : TArray<Integer>; ... LArray := LDictionary.Keys.ToArray(); TArray.Sort<Integer>(LArray); I was trying the wrong direction (functional approach like LArray := LDictionary.Keys.ToArray.Sort();*), but the above procedural solution works. Members […]
Weiterlesen...