This example shows how to perform a multicolumn sort. A multicolumn sort allows you to define what column to sort by in the event of a tie with two elements in the initial column sorted.
int | float | string |
---|---|---|
1 | 10.0 | a |
1 | 10.0 | a |
2 | 10.0 | b |
0 | 20.0 | c |
1 | 30.0 | b |
2 | 30.0 | a |
0 | 10.0 | b |
0 | 20.0 | a |
0 | 10.0 | c |
1 | 20.0 | a |
2 | 10.0 | b |
3 | 30.0 | a |
2 | 30.0 | b |