[Newbies] Sortable?

Blake blake at kingdomrpg.com
Sun Mar 11 01:12:41 UTC 2007


Hey,

	I want to have a collection that's sortable but not always sorted. I've  
been using (essentially):

mySortedCollection := myOrderedCollection asSortedCollection.
myOrderedCollection := mySortedCollection asOrderedCollection.

	Or just:

s := (s asSortedCollection) asOrderedCollection.

	OK? (It seems fine to me, but part of my mind still sticks thinks "Gee,  
that's a lot of overhead.") I really just want to write:

s sort.

	I see the tools are there for SortedCollection but they're not meant to  
be used, I think.

	===Blake===


More information about the Beginners mailing list