awk and sort for a chain of characters in a file
I have a file with a lot of records similar to this:
I want to sort this file by using two parts of each record, for example: positions 3 to 4 like one field ascending and
positions 16 to 19 like other field descending.
how can i do it? It is possible using awk?