# Feature OP-16476 - Sort values in custom fields list and hierarchy automatically

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-16476

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List | UX/UI |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project manager / OpenProjet Administrator  
**I want to** have an option to automatically sort the values of list and hierarchy custom fields by alphabetical order  
**so that** I don't have to do an alphabetical sort by hand when adding new values.

Especially with bit lists and hierarchies this can be tedious (like for example with a hierarchy of data elements or departments in a big organisation).

**Acceptance criteria**

  - field values of the custom field type list can be sorted alphabetically by a click of a button

  - field values of the custom field type hierarchy can be sorted alphabetically by a click of a button
    
      - for hierarchy, an additional option is offered to either sort alphabetically by long or short name
