sort_file_content
Organize file content by sorting lines alphabetically or numerically, with options to reverse order and remove duplicates.
Instructions
Sort the lines of a file. Supports ascending/descending, numeric sorting, and duplicate removal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to sort | |
| order | No | Sort order | asc |
| numeric | No | Sort numerically instead of alphabetically | |
| unique | No | Remove duplicate lines |