I have the following dataframe that I would like to sort first by Criticality and then by Name:
Name        Criticality
baz         High
foo         Critical
baz         Low
foo         Medium
bar         High
bar         Low
bar         Medium
...
I've been trying to do this using the answer provided in this post but I just can't get it to work.
The end result should be like this
Name        Criticality
bar         High
bar         Medium
bar         Low
baz         High
baz         Low
foo         Critical
foo         Medium
 
     
     
     
     
    