• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wanted a real sort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wanted a real sort


  • Subject: Re: wanted a real sort
  • From: cris <email@hidden>
  • Date: Fri, 13 Apr 2001 00:31:24 +0200

on 10.04.2001 22:39 Uhr, email@hidden at
email@hidden wrote:

> does anyone know how to place a list into order? ; 1,2,3 not 1,10,11...

If things are sorted that way, your sorting handler compares strings not
numbers...
"10" is considered lower than "2" because both are strings, but if you say:

("10" as number) is greater than ("2" as number)

then you will get the desired result.




Greetings
cris :-)
--
English is my second language.
www.cooc.de


References: 
 >wanted a real sort (From: email@hidden)

  • Prev by Date: Re: CGI?
  • Next by Date: path to constants
  • Previous by thread: Re: wanted a real sort
  • Next by thread: Filemaker portal fields
  • Index(es):
    • Date
    • Thread