in reply to Sort files by date in the file name.

What is first column code ?

  • Comment on Re: Sort files by date in the file name.

Replies are listed 'Best First'.
Re^2: Sort files by date in the file name.
by leoberbert (Novice) on Jul 07, 2016 at 23:41 UTC
    A number that must be used as a key ..... The first and last column should be the sort keys.

      A number that must be used as a key ..... The first and last column should be the sort keys.

      :) you gave sample input and sample output

      the sample output does not appear in the sample input

      its not clear what you mean by "first column code" and I cannot deduce/guess from the sample you provided

      The word explanations do not clarify which part is which

        See this example: 1020300000_XXXXXXXXX_20160707193000.TXT 1020300000_XXXXXXXXX_20160707170000.TXT I need to return only the oldest file using the file name date. 1020300000_XXXXXXXXX_20160707170000.TXT