Hi...
I need to sort a pipe-delimited file that has three numeric fields. I need to group by the first field (ascending), and group by the third field (descending). The second field is irrelevant. So, basically, I need a file that looks like this:
166|29114 |327.97
166|29127 |44.35
166|82828 |500.00
112|27272 |36.00
112|01010 |55.12
To look like this:
112|01010 |55.12
112|27272 |36.00
166|82828 |500.00
166|29114 |327.97
166|29127 |44.35
Anyone out there know what I'm sayin'? Any help would be much appreciated. Thanks a million!!!
I need to sort a pipe-delimited file that has three numeric fields. I need to group by the first field (ascending), and group by the third field (descending). The second field is irrelevant. So, basically, I need a file that looks like this:
166|29114 |327.97
166|29127 |44.35
166|82828 |500.00
112|27272 |36.00
112|01010 |55.12
To look like this:
112|01010 |55.12
112|27272 |36.00
166|82828 |500.00
166|29114 |327.97
166|29127 |44.35
Anyone out there know what I'm sayin'? Any help would be much appreciated. Thanks a million!!!