Print int[string] sorted by Value

Ali Çehreli acehreli at
Wed Oct 28 20:37:55 UTC 2020

On 10/28/20 9:30 AM, Paul wrote:

 > On Wednesday, 28 October 2020 at 15:40:23 UTC, aberba wrote:
 >> Have you tries .values() function? dictionary.values.sort()
 > Thanks aberba. Yes, that was my first attempt!
 > If my terminology is correct that gives me a "range" of sorted VALUES.

No, both .values and .keys return dynamic arrays that are freshly populated.

.byKey, .byValue, and .byKeyValue are "ranges" that iterate the elements 


More information about the Digitalmars-d-learn mailing list