in reply to Re: Question about map function
in thread Question about map function [ANSWERED]

Perfect! I do want to sort numerically, hence the need to remove the periods. I tried your second (shorter) solution and it works exactly as needed. I knew there was a way to do it with regexes, but needed superior wisdom to show me the way.

Much thanks.

  • Comment on Re: Question about map function [SOLVED!]

Replies are listed 'Best First'.
Re^2: Question about map function [SOLVED!]
by runrig (Abbot) on Nov 17, 2008 at 20:36 UTC
    If your months/days are 2-digit zero padded (as YYYY.MM.DD would indicate), then you don't need to sort numerically...alphabetically sorting is fine. Is the format, e.g., "2008.01.01" or "2008.1.1" ??