I've been coding for over 20 years, and I've always had this specific annoyance: when I grep or rg through a codebase, the definitions or declarations I actually want to see are often buried in the middle of the stream.
I got tired of crafting magic regex sequences to find them, so when I came down with the (actual) flu this week and needed to occupy my brain, I built ssort.
It's a CLI tool that buffers input and bubbles specific matches (like "struct", "class", "func") to the top while flushing the rest later. It was partially "vibe coded" with Gemini during (ongoing) recovery.
It's simple, written in Go, and finally solves my search ordering problem. Hope you find it useful.
treetalker•1h ago