Probably an easy one! but its got me stuck!!!
I have data coming in and would like to sort it, but only by using the FIRST 3 chars of the input.
i.e
Input
=====
D01:zzzzzzzz
D05:dddddddd
D02:eeeeeeee
D01:aaaaaaaa
I would like the output to read
D01:zzzzzzzz
D01:aaaaaaaa
D02:eeeeeeee
D05:dddddddd
But currently is is being sorted for ALL the data in the input.
Current output
D01:aaaaaaaa
D01:zzzzzzz
D02:eeeeeeee etc etc
Any ideas???
Thanks
I have data coming in and would like to sort it, but only by using the FIRST 3 chars of the input.
i.e
Input
=====
D01:zzzzzzzz
D05:dddddddd
D02:eeeeeeee
D01:aaaaaaaa
I would like the output to read
D01:zzzzzzzz
D01:aaaaaaaa
D02:eeeeeeee
D05:dddddddd
But currently is is being sorted for ALL the data in the input.
Current output
D01:aaaaaaaa
D01:zzzzzzz
D02:eeeeeeee etc etc
Any ideas???
Thanks