in reply to Re: Custom Sort Array
in thread Custom Sort Array

Thanks, however this seems to return the same array I had previously. 10 is still preceded by 2.

I should clarify that the logs have numbers prior as well, so the log looks something like this:

abcd1_abc_123456.abc1a_A.201307290800-0900-0.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-1.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-10.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-11.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-2.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-3.gz

Replies are listed 'Best First'.
Re^3: Custom Sort Array
by arkturuz (Curate) on Aug 10, 2013 at 20:44 UTC
    You changed the requirements but I think you see where is the solution going: extract relevant fields and compare that.