Hi Raymond, Try:
^notes sorted:[:a :b | (a date > b date) | ((a date = b date) & (a date temps > b date temps))]. Lou On Wed, 04 Feb 2015 10:34:48 -0500, Raymond Asselin <jgr.asse...@me.com> wrote: >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? ----------------------------------------------------------- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon mailto:l...@keystone-software.com http://www.Keystone-Software.com _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners