You are talking about "the array", but you have at least three variables, named @array, @array1 and @array2. Which one do you mean?
Also, are you sure that what you are programming makes sense? It seems to me that your variables do not contain what you think they do. You are sorting and printing within your loop. This is most unlikely what you want if you want to sort the complete file.
In reply to Re: Array Sorting
by Corion
in thread Array Sorting
by sreenath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |