Hi Everyone,
Formatted output required, i have a sample input file and i want descending output(Col3,Col4) which i shown in Output1, but the Col1,Col2 should be in the same order. Output2 is also required, Find below screenshot, also sharing sample data file.

Can anyone help ? Immediate help will be highly appreciated, Thanks in advance !