# sort requires compare function\. · gitcafe/zig

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

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

Visibility: public

Requested revision: cf00245bf9367f9a8ce11739372b4899639cdccf

Requested commit: cf00245bf9367f9a8ce11739372b4899639cdccf

Commit: cf00245bf9367f9a8ce11739372b4899639cdccf

Tree: b3e5d474d95811b3d45b5278e71851399d28b01d

Author: Steve Perkins

Committer: Steve Perkins

## Message

```
sort requires compare function.

Provide some handy functions for builtin comparable types.

```

## Parents

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

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