Hello,
I'm trying to use a SortedMap? with an integer as a key and a float as value and would like to sort the Map by the value of the float? Is this even possible? I saw in the API documentation that there is a compareElem function, but how do I override it and how do I invoke it?
The sample from the Wiki isn't very helpful anymore as TreeBag? is deprecated.
http://www.dsource.org/projects/tango/wiki/ChapterStorage
thank you very much.
/lars
Some thoughts about switching from PHP to D: http://www.lars-kirchhoff.de/go/journal/section/from-php-to-d/