[Newbies] How to doubble sort a collection

Raymond Asselin jgr.asselin at me.com
Wed Feb 4 15:34:48 UTC 2015


I have this kind of sorting on anOrderedCollection

BlocNotes >>sortedNotes
	^notes sorted:[:a :b | a date  > b date]

This sort my notes on date but I want them sort by date AND inside a date by hours and I don't khow how to do this.

Some insights?

aNote = 'med com date temps' instancesVariables what I call hours = temps witch is a number like 2123 for 21h23

Some insights?


More information about the Beginners mailing list