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 lazily.

Ali

Reply via email to