Quote Originally Posted by hwnd View Post
speed and neat things like std:map. i tried xe tdictionary but it was unable to make same work as my c++ code. i got wrong results. dunno if tdictionary allows using custom sort routine.
i think problem was exactly in that.
TDictionary uses hash table for storing key/value parameters. I don't know how or why would you need to sort hashed entries unless there are collisions. There is also ToArray function, which returns TArray, the last one does support custom sorting routine.

P.S. In my experience with TDictionary and XE 3, it is surprisingly fast, even with Unicode strings. I would definitely recommend it.