[web]: add voice sort type toggle
Discussed in https://github.com/remsky/Kokoro-FastAPI/discussions/540
Originally posted by RBEmerson970 September 29, 2026 ...sorting the voice names by grade or score instead of by full name (e.g., bm-lewis). Can we please either revert to the old sorting sequence or add the option to sort voices on language, gender, or name (or, to be elegant, any combination of the three)?
Hi @remsky, I'd like to work on this issue.
I'm planning to add a sort selector/toggle to the voice selector so users can change the voice ordering while preserving the existing pinned-voice behavior.
I'll also update/add tests for the sorting behavior.
Please let me know if you have a preferred UI or specific sort options you want included.
@se1vapriya That would be great. A single button would be clean, toggling between grade vs alphabetical e.g similar to below for alphabetical state but matching the styling of the UI
Notes for the webUI are also listed here: web-contrib. Feel free to comment here if you have any questions or extra in mind as well
Status check, pls.
Hey @se1vapriya, were you still working on it?
If I don't hear back within a day or two, I'll be adding a branch with the bones in place. Can tag you on it before it's merged, let me know.