RussellDonders
Programmer
Hi,
I need to sort a file alphabetically - but not on the first chars of the line .. I have set up a flat file text delimited database ie
VAL<DELIMITER>VAL2<DELIMITER>VAL3<DELIMITER> etc etc
now I want to be able to sort the file - but not on Val1 - rather alphabetically on VAL2 .. anyone know an easy way to do this ?
What I am doing at the moment is splitting each line into variable names for each of the VALS as i cant see any other way to go about it - but then im stuck.
Thanks,
Russell
I need to sort a file alphabetically - but not on the first chars of the line .. I have set up a flat file text delimited database ie
VAL<DELIMITER>VAL2<DELIMITER>VAL3<DELIMITER> etc etc
now I want to be able to sort the file - but not on Val1 - rather alphabetically on VAL2 .. anyone know an easy way to do this ?
What I am doing at the moment is splitting each line into variable names for each of the VALS as i cant see any other way to go about it - but then im stuck.
Thanks,
Russell