# Feature SSI-181 - Enable ordering for work packages on values of custom fields of type hierarchy

Project: Stream Storage Integrations
Status: closed
URL: https://community.openproject.org/work_packages/SSI-181

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 15.2.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| SSI-190 | Bug | Missing arrow next to column name to indicate sorting order | confirmed |  | Wish List |  | Administration / Custom fields |

## 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 | Bruno Pagno |
| Product manager |  |
| Feature Lead |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a user  
**I want to** sort my work package list on the assigned values of a custom field of type hierarchy  
**so that** I can have a quick overview of my list in this specific context.

**Acceptance criteria**

*   A column in the work package table created for a custom field of type hierarchy must allow sorting ascending and descending.
    
*   If the sort order is ascending, the textual representation is ordered in a string based ascending order with empty values coming first.
    
*   If the sort order is descending, the textual representation is ordered in a string based descending order with empty values coming last.
