Ok, I don't see any sort in there. What's your plan for sorting things? For that matter, where are the two arrays you were using in your initial post? I don't see either of them here.
You are probably going to need some data structure that relates things together (a hash, of some sort), which would then be in an array for each line, which you can then sort and use.
In reply to Re^5: Sort by distance
by DStaal
in thread Sort by distance
by pglinx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |