sort
version: "3.0.2"
by ckchzh · published 2026-03-22
$ claw add gh:ckchzh/ckchzh-sort---
name: sort
version: "3.0.2"
author: BytesAgain
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
license: MIT-0
tags: [sort, tool, utility]
description: "Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies."
---
# sort
File & Text Sorting Tool.
Commands
`lines`
Sort lines (flags: -r reverse, -n numeric, -u unique)
scripts/script.sh lines <file> [-r] [-n] [-u]`csv`
Sort CSV file by column number (1-based)
scripts/script.sh csv <file> <column>`json`
Sort JSON array by a key
scripts/script.sh json <file> <key>`dedup`
Remove duplicate lines (preserving order)
scripts/script.sh dedup <file>`shuffle`
Randomly shuffle lines
scripts/script.sh shuffle <file>`rank`
Rank/sort tabular data by a numeric column
scripts/script.sh rank <file> <column>`top`
Show top N entries by column value
scripts/script.sh top <file> <column> [n]`freq`
Frequency analysis — count occurrences of each line
scripts/script.sh freq <file>`stats`
Show basic stats about the file content
scripts/script.sh stats <file>Requirements
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
Data Storage
Operation history is logged to `~/.local/share/sort/history.log` for audit purposes.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...