Maha

Maha

  • NA
  • 0
  • 328.2k

(38) Sort() method

Sep 6 2007 9:39 AM

September 6, 2007

 

Hi Guys

 

(38) Sort() method

 

The Array.Sort();method arranges array items in ascending order. It works numerically for number types and alphabetically for characters and strings.

 

But if array items are mix of numbers and alphabetical Array.Sort();method can’t be used. For example in order to sort zip code what method can be used. Please help.

 

zips = {"BF 45633", "GJ 76895", "BK 87946", "NM 38657"} 

 

Thank you


Answers (1)