nowfound

AI · February 11, 2025

Sort lines semantically using llm-sort

This is a small plugin I made for Simon Willison's llm utility. You can do things like: cat names.txt | llm sort -q "Which one of these names is best for a pet seagull?" cat books.txt | llm sort -q "Which book is more related to basic vs. advanced CS topics?" I see a lot of potential marrying LLMs with classic UNIX interfaces.

Sort lines semantically using llm-sort launched on February 11, 2025 with 25 votes, #654 of 5,999 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 11% of February 2025

In plain words

llm-sort is a plugin for Simon Willison's llm utility that sorts lines of text based on semantic criteria provided by the user through natural language questions. Users can pipe text files into the tool with a query to organize items by custom logic—such as ranking names for a pet seagull or ordering books by complexity level. The plugin demonstrates how large language models can integrate with traditional Unix command-line workflows for text processing tasks.

written from the facts on this page · September 2026

From the sources

Sort input lines semantically with llm. Contribute to vagos/llm-sort development by creating an account on GitHub.

LLM plugin for semantically sorting lines. Ranking techniques are based on this paper. llm install llm-sort Usage The plugin adds a new command, llm sort . This command has an interface similar to the GNU sort command, and sorts input lines based on some semantic ranking criteria. Lines can be provided via files or standard input. For example: # Sort lines from a file using the "sorting" method (default) llm sort --query " Which of these names is more suitable for a pet monkey? " names.txt # Read from standard input cat titles.txt | llm sort --query " Which book should I read to cook better? " # Use a different method, limit the output to the top 5 lines, and specify a custom model and…from github.com

Does a similar job

all alternatives →
  • XI
    XKCD-inspired StackSort2013 · gkoberger.github.com · ▲948
  • Medium Reading List Manager2018 · chromewebstore.google.com · ▲95

    Sort your medium reading list in just one click

  • LLM Explorer2023 · ▲152

    Find your best LLM for a local inference

  • Map with an LLM2024 · godview.ai · ▲76

    Christmas project from a personal need to find ideal locations.

  • Use local LLMs to organize your files2025 · github.com · ▲6

    Hi everyone, Just wanted to share a use case where local LLMs are genuinely helpful for daily workflows: file organization. I've been working on a C++ desktop app called AI File Sorter – it uses local LLMs via `llama.cpp` to help organize messy folders like `Downloads` or `Desktop`. Not sort files into folders solely based on extension or filename patterns, but based on what each file actually is supposed to do or does. Basically: what would normally take me a great deal of time for dragging and sorting can now be done in a few. It's cross-platform (Windows/macOS/Linux), and fully…

  • Card Sorting: Designing Usable Categories2016 · rosenfeldmedia.com · ▲72

    The card sorting method for understanding ideas and content

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 17d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 18d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • Onepin▲384

    AI voiceover with every name, price and date said right

    AI · 30d ago · onepin.ai

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

Source: Show HN post ↗

Launched alongside, February 2025

the whole month →
  • Beautiful screen recordings with instant shareable links

    Growth · 2025 · screen.studio

  • Tana▲1,665

    Put your notes to work with voice and AI

    AI · 2025 · tana.inc

  • IG

    I was at FB/Meta from late 2013 to early 2023, mostly working in the compiler/runtime spaces. I got hit in the spring 2023 layoff wave. I immediately started making games in my newfound free time (a lifelong interest, and I even worked in AA(A?) back ca. ~2000), and in October 2023 I stumbled upon the idea of a roguelike pachinko/plinko game inspired by Luck Be A Landlord. Things snowballed quickly, I started talking to publishers, then worked like crazy through all of 2024, almost the hardest I've ever worked in my career, and launched the game in December 2024. It's sold…

    Work · 2025

  • Tanka▲1,410

    AI Messenger with smart reply & long term memory for teams

    AI · 2025 · tanka.ai

  • Tool Finder▲1,327

    Your shortcut to better software

    AI · 2025 · toolfinder.com

  • i wanted to change the habit of reaching for my phone in the morning and doomscrolling away an hour so i built an app to help me. now i have to literally touch grass before accessing my most distracting apps the app is built in swiftui, uses the screen time apis provided by apple and google vision to recognise grass or not i'd love to get your thoughts on the concept.

    Life & fun · 2025 · touchgrass.now