# Bug OP-13744 - No free sorting of enumerations

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-13744

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.1.0 |
| Observed in versions | 13.0.0 |
| Sprint | 13.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as system administrator
2.  Go to the enumerations page and chose an enumeration (e.g. Work package priorities)
3.  Click on "Move up" or "Move down" in the "Sort" column to resort an enumeration item

### What is the buggy behavior?

  - \[1\] There was the notification shown with the message "Successful update." but the order of the items didn't change (the order is alphabetically)
  - \[2\] In the working package view the sorting of the priority is wrong (the order is alphabetically)

### What is the expected behavior?

1.  The order of the enumeration item should change when you use the arrows
2.  When sorting by priority the working packages should be sorted as the order in the enumerations configuration

### Environment information

**OpenProject installation type**

- [x] Hosted cloud edition

**OpenProject version**

*OpenProject 13.0.8*

**Browser**

- [x] Chrome

**Language**

  - German
  - English
