Taprun source ↗
Entry · tap

tap/sort

Sort rows by field (numeric or alphabetic, asc or desc)

read-only

Run it

$ tap tap/sort

What it returns

ColumnType

Arguments

NameTypeDefaultDescription
fieldstringColumn name to sort by
orderstringdescasc or desc

What it does

Sort rows by field (numeric or alphabetic, asc or desc)

Install Taprun once

Taprun ships as a single MCP server exposing a catalog of compiled taps. One-time setup on macOS / Linux:

brew install LeonTing1010/tap/taprun
tap mcp connect

Or drop this into your claude_desktop_config.json (works identically in Claude Code, Cursor, Cline, Windsurf — any MCP host):

{
  "mcpServers": {
    "tap": {
      "command": "tap",
      "args": ["mcp", "start"]
    }
  }
}

Call tap/sort

Terminal, once installed:

tap run tap/sort

From the MCP host — exact same compiled plan, deterministic replay, zero LLM tokens:

tap.run({ site: "tap", name: "sort" })

Why compile it once

This plan was forged once — the AI read tap, picked stable structural addresses (JSON-LD, ARIA, RSS, or declared API endpoints, in that priority order), and saved them to a .plan.json. Every replay since then has used zero LLM tokens. When tap ships a site change that breaks the extraction, tap verify surfaces it before your data goes stale — not after your pipeline silently writes garbage for a week.

Related tap taps

tapdescription
tap/limitTake first N rows (head) or skip M then take N (offset+limit)
tap/filterFilter rows where field matches condition (gt, lt, eq, contains)
tap/dedupeRemove duplicate rows by field value
tap/tableFormat rows as a human-readable table (outputs one row per line)
tap/pickSelect specific columns from rows (projection)

Provenance

Source
LeonTing1010/tap-skills/blob/main/showcase/tap/sort.plan.json
Machine format
sort.jsonld — W3C Annotation
Last verify run
never
License
MIT