I have a table with below data
I need below output such that first it should sort based on COL4 and then group by COL1 and COL2 in ASC order.
Can a