Home > Back-end >  Sorting alphabetically two columns, first one contains a set of repeat values and the second are uni
Sorting alphabetically two columns, first one contains a set of repeat values and the second are uni

Time:03-04

How can I sort to columns in the following way

My two columns before sorting

C    Ciks
C    Bsdjnf
C    ACfff
A    Bhdh
A    Apdp
A    Cyay
B    Ayay
B    Cnan
B    Btag

After being sorted

A    Apdp
A    Bhdh
A    Cyay
B    Ayay
B    Btag
B    Cnan
C    ACfff
C    Bsdjnf
C    Ciks

I have been using the common command found for example the one found here enter image description here

It will sort by priority, upper line, upper priority, then next line... will not modify prior sorted line(s).

  • Related