# Add generic comparator generator functions for sorting · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9b054e73f6b9f946a404a7f0c8b6a90d83e4b928)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9b054e73f6b9f946a404a7f0c8b6a90d83e4b928

Requested commit: 9b054e73f6b9f946a404a7f0c8b6a90d83e4b928

Commit: 9b054e73f6b9f946a404a7f0c8b6a90d83e4b928

Tree: 2f5fe1ebbdf54f3e2d1847444f04c4450e99f4be

Author: Marc Tiehuis

Committer: Marc Tiehuis

## Message

```
Add generic comparator generator functions for sorting

 - Copy-by-value instead of pointer where appropriate
 - Clean up old zig fmt issues

```

## Parents

- [c6c49389ebd1503de38d9bb6ff6d9f6fba94d63b](https://git.cafe/gitcafe/zig/commit/c6c49389ebd1503de38d9bb6ff6d9f6fba94d63b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9b054e73f6b9f946a404a7f0c8b6a90d83e4b928?format=markdown)
