>>Hi all I am new and need your help.
>>
>>
>>I am trying to write a program using an array that will but the names in my fields in topdown order.
>>
>>example
>>name1 = john
>>name2 =
>>name3 =
>>name4 = jane
>>name5 = joe
>>
>>I want to move the names so the come out like this.
>>name1 = john
>>name2 = jane
>>name3 = joe
>>name4 =
>>name5 =
>>
>>How would I do this in an array? Can anyone help..
>>
>>
>>Thanks in advance...
asort(arrArrayName,1,-1,1)
would sort to :
john
joe
jane
Cetin