I have data in following form, I want to sort the balance
column based on the same value in reference
column.
reference | balance
----------------------
ADE | 100
ADE | 95
ADE | 90
AVR | 83
AQE | 95
AQE | 71
Result would look like as below
reference | balance
----------------------
ADE | 90
ADE | 95
ADE | 100
AVR | 83
AQE | 71
AQE | 95