1
Answer

(38) Sort() method

Maha

Maha

17y
2k
1

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)