I have the following table:
15|flex |2|low |Not started
16|flex |1|medium|Not started
17|flex |2|medium|Not started
18|gridonly-med|1|low |Not started
19|gridonly-med|2|low |Not started
20|gridonly-med|4|low |Not started
21|gridonly-med|1|medium|Not started
22|gridonly-med|2|medium|Not started
23|gridonly-med|4|medium|Not started
and what I need is to sort it(desc) by 3-rd column without messing column 2 and column 4.
Basically, I need to get this table:
15|flex |2|low |Not started
17|flex |2|medium|Not started
16|flex |1|medium|Not started
20|gridonly-med|4|low |Not started
19|gridonly-med|2|low |Not started
18|gridonly-med|1|low |Not started
23|gridonly-med|4|medium|Not started
22|gridonly-med|2|medium|Not started
21|gridonly-med|1|medium|Not started
I have tried:
ORDER BY column4 DESC, column1 ASC
but it didn't work.
I get:
23|gridonly-med|4|medium|Not started
20|gridonly-med|4|low |Not started
22|gridonly-med|2|medium|Not started
19|gridonly-med|2|low |Not started
17|flex |2|medium|Not started
21|gridonly-med|1|medium|Not started
18|gridonly-med|1|low |Not started
16|flex |1|medium|Not started
If someone points out any clause or any other thing which I could use to solve my issue I would really appreciate any help, thank you.