Hi all,
I need to achieve the following using Sort card.
I/P:
0000034R098765A0012AS
0000034R0987659999999
000003400123340001010
000003499999999999999
I want to sort it in such a way that the record with '9999' comes at top. The first 7 places corresponds to ID1, next 7 places ID2, next 4 places ID3 and final 3 places ID4. The problem is that ID2, ID3, ID4 are all alphanumeric as mentioned above. The final O/P should look like...
O/P:
000003499999999999999
0000034R0987659999999
0000034R098765A0012AS
000003400123340001010
Please help me. Thanks in advance !!!
Regards,
Kumar