>_ IzzyLab

Topic breakdown

By default sort compares whole lines lexicographically — like words in a dictionary, so 10 ends up "less than" 9. To control sorting, you combine flags: -k N selects the field (column) to compare, -n enables numeric comparison, -r reverses the order. The key idea is to separate what you compare (which field) from how you compare (number/text, ascending/descending).

What's checked

  1. sorted by score descending

What it looks like