'Sorting Enum values alphabetically with Hot Chocolate
I have an Enum like so:
public Enum Status {
Draft,
Submitted,
Accepted
}
Currently, when I sort by Status, it will come back in the order of the Enum, asc/desc. I'd like it to be able to be sorted alphabetically without having to reorder the Enum.
I've seen on the Hot Chocolate documentation that it allows for custom sorting configurations, but would like some help in how that actually works.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
