>-----Original Message-----
>From: Imtiaz ahmad [mailto:[EMAIL PROTECTED]]
>      
>################################################################
>And I want to sort @array_1 by szname which is the second column.
>How do I do it so that it includes all the column when sorting.
>
>

What I have done in the past is append the first part of the text onto the
end of the text separated by something that you are sure is going to be
unique "x1x1x1x1" or some such nonsense. Drop it into a hash if you are sure
they are going to be unique and then sort the keys. I then took the bit I
had appended earlier and put it back on the front. 

If there is a possibility of some of the lines being unique do it in an
array.

Not elegant but it worked at the time.

Harry


*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to