delphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow
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... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:11 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz