# «Geany» :: Examples of custom formats
```
Edit
   Format
      Sen selection to
         Set custom commands
```
| ID | Command       | Label
|----|---------------|----------------------------
| 1. | sort          | Sort lines
| 2. | sort -u       | Sort lines, remove duplicates
| 3. | sort -r -u    | Sort lines backward, remove duplicates
| 4. | tac           | Last line first
| 5. | nl -w4 -s'.	'| Add line numbers
