Concept Flow - sort_values() by multiple columns
Start with DataFrame
Choose columns to sort by
Specify ascending or descending for each
Call sort_values() with columns and order
DataFrame sorted by first column
Within ties, sorted by second column
Return sorted DataFrame
We start with a DataFrame, pick columns to sort by, specify order for each, then call sort_values(). The DataFrame is sorted first by the first column, then by the second within ties.