|Perl Monk, Perl Meditation|
Re^3: Custom Sort Arrayby 2teez (Priest)
|on Aug 10, 2013 at 20:25 UTC||Need Help??|
...There's a 1, so the 1 shows up before the 10, and 11, then the 2 shows up. This goes well beyond just 1, however. Logs can go as far as 99, so I need a solution that will organize them up to the point of this final -##.gz in the name from 0-99+ in numeric order.
Yes, even with the 1 file been included. It would sort it for you.
I think you are getting it wrong the way you apply the solution.
You might want to do it like this:
you will have:
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me