Apr-09-2020, 08:28 AM
lines 9 and 10 are not part of the for loop, so the sort is only being performed on the final line. Indent them properly and it will work.
Split and sort input file
|
|
Messages In This Thread |
Split and sort input file - by aawaleh - Apr-08-2020, 10:19 PM
RE: Split and sort input file - by TomToad - Apr-09-2020, 08:28 AM
RE: Split and sort input file - by aawaleh - Apr-09-2020, 08:27 PM
RE: Split and sort input file - by aawaleh - Apr-10-2020, 06:54 PM
RE: Split and sort input file - by aawaleh - Apr-10-2020, 09:59 PM
|