Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
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.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!