[squeak-dev] object explorer - sorting keys in dictionaries

H. Hirzel hannes.hirzel at gmail.com
Thu Apr 18 18:47:00 UTC 2019

Hi Chris

I think you might want to have a look at all the implementors of


Dictionary has


	^self keysSortedSafely replace: [ :key |
			with: (self at: key)
			name: (key printString contractTo: 32)
			model: self ]


On 4/18/19, Chris Cunningham <cunningham.cb at gmail.com> wrote:
> Hi.  I have objects that I want to explore with Dates as keys.
> ObjectExplorer seems to want to sort these by the string representation of
> the dates instead of the natural sorting of the dates
> [image: image.png]
> Could someone point me to where the building of this list is going on? Once
> I have a pointer, I can try various other options to find something I like.
> Thanks,
> cbc

More information about the Squeak-dev mailing list