# Add \`Ord\` and \`PartialOrd\` impls for gpui entity types \(\#26968\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b6198ad516fca50c296742c7693713895ede89d2)

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

Visibility: public

Requested revision: b6198ad516fca50c296742c7693713895ede89d2

Requested commit: b6198ad516fca50c296742c7693713895ede89d2

Commit: b6198ad516fca50c296742c7693713895ede89d2

Tree: 1e4d7796d0a06f22c1fc5d43c11d02524339dd4d

Author: Michael Sloan

Committer: GitHub

## Message

```
Add `Ord` and `PartialOrd` impls for gpui entity types (#26968)

Motivation is to be able to use entities as TreeMap keys.

Release Notes:

- N/A

Co-authored-by: Nathan <nathan@zed.dev>
```

## Parents

- [5210d9e8b4947a6769bbf928d612eb4b42d4d562](https://git.cafe/gitcafe/zed/commit/5210d9e8b4947a6769bbf928d612eb4b42d4d562?format=markdown)

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