First post so please be gentle :)

I have a two dimensional array which needs to be sorted in a specific order but 
cannot think how to do it.  The array looks like :-

[ABC][ADG]
[DEF][XYZ]
[GHI][JKY]
[ABC][BHT]
[GHI][KUL]
[DEF][TRU]
..

but I want to end up with a order where it looks like :-

[ABC][ADG]
[DEF][XYZ]
[GHI][JKY]
[ABC][BHT]
[DEF][TRU]
[GHI][KUL]
..

so that the sequence ABC,DEF,GHI keeps repeating.  Any ideas on how to achieve 
this please ?

Best Regards,

-- 
SplatNIX IT Services :: Innovation through collaboration

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to