# Zsort: import organizer for zig

**URL:** <https://ziggit.dev/t/zsort-import-organizer-for-zig/17110>\
**Category:** Showcase\
**Tags:** language, build-system, zig-0-15-2, llm, zig-0-16\
**Created:** [August 6, 2026, 6:32pm UTC](https://ziggit.dev/t/zsort-import-organizer-for-zig/17110 "2026-08-06T18:32:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mstdokumaci](https://ziggit.dev/user_avatar/ziggit.dev/mstdokumaci/32/9820_2.png) [@mstdokumaci](https://ziggit.dev/u/mstdokumaci)\
**Post date:** [August 6, 2026, 6:32pm UTC](https://ziggit.dev/t/zsort-import-organizer-for-zig/17110/1 "2026-08-06T18:32:46Z")

</div>

# zsort: import organizer for zig

* * *

I was missing isort from Python, so I built zsort for Zig: [GitHub - mstdokumaci/zsort: Opinionated import organizer for Zig similar to isort / goimports · GitHub](https://github.com/mstdokumaci/zsort)

I am using zlint and zwanzig on my Zig projects, but neither of them sorts the imports, and I like my code tidy. std.zig.Ast made my life easier building this project, can’t tell the same about trying to support both 0.15.2 and 0.16 at the same time.

### AI / LLM usage disclosure

I used cheap LLMs for doing the hard work from the beginning to the end. But I have been coding since 1996, so I hope this is still not vibe coding.

---

_[View the full topic](https://ziggit.dev/t/zsort-import-organizer-for-zig/17110)._
