# Sorting custom user field dropdown items

**URL:** <https://meta.discourse.org/t/sorting-custom-user-field-dropdown-items/415810>\
**Category:** Product Support\
**Tags:** user-custom-fields\
**Created:** [October 26, 2026, 10:42pm UTC](https://meta.discourse.org/t/sorting-custom-user-field-dropdown-items/415810 "2026-10-26T22:42:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Post date:** [November 3, 2026, 8:43pm UTC](https://meta.discourse.org/t/sorting-custom-user-field-dropdown-items/415810/4 "2026-11-03T20:43:12Z")

</div>

You could use [`dsc`](https://github.com/pacharanero/dsc) to pull the UCF data locally, then sort the range of lines in YAML and push back up.

> [@Creating and configuring custom user fields](https://meta.discourse.org/t/creating-and-configuring-custom-user-fields/113192/90):
>
> Creating a Discourse multiselect user field with many options Entering dozens or hundreds of choices one at a time in Discourse’s custom user-field editor is tedious. I’ve been working on a multipurpose CLI tool for Discourse called [dsc](https://github.com/pacharanero/dsc), which makes operations like this easier and more deterministic using local files. Just one of many things it can do is manipulate Custom User Fields. dsc can create a new custom user field from a YAML file, including the entire ordered option list in one operat…

Any local AI agent will be able to do this for you very well using the CLI tool

---

_[View the full topic](https://meta.discourse.org/t/sorting-custom-user-field-dropdown-items/415810)._
