in reply to sorting an array
@array = (***1***, stuff1, stuff1b, ***end1***, ***2***, stuff 2, stuf +f2b, ***end2*** ...) [download]
@newarray = (stuff1stuff1b, stuff2stuff2b) [download]