mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
This also adds `std.sort.sortContext` and `std.sort.insertionSortContext` which are more advanced methods that allow overriding the `swap` method. The former calls the latter for now because reworking the main sort implementation is a big task that can be done later without any changes to the API.