[Newbies] Re: How to doubble sort a collection

Paul DeBruicker pdebruic at gmail.com
Wed Feb 4 23:32:03 UTC 2015


Are your temps stored as strings? Strings that are numbers aren't coerced to
numbers before comparison.  

e.g. in a workspace



'765' > '1230'  

prints true and   


765 > 1230 


prints false.....








Raymond Asselin-4 wrote
>> Le 2015-02-04 à 13:33, Tobias Pape <

> Das.Linux@

> > a écrit :
>> 
>> 
>> can you give an example?
>> 
> 
> 
> _______________________________________________
> Beginners mailing list

> Beginners at .squeakfoundation

> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> 
> 
> SortedNotesExample.png (62K)
> <http://forum.world.st/attachment/4803715/0/SortedNotesExample.png>





--
View this message in context: http://forum.world.st/How-to-doubble-sort-a-collection-tp4803657p4803794.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list