# Feature SPAR-165 - Change ordering of relations in relations tab/datepicker to always order chronologically

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-165

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 15.5.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 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| SPAR-229 | Bug | Date picker successor and children tabs do not show the correct chronological order | closed |  | 15.5.0 |  |  |

## Technical Details

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

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Alexander Coles |
| Product manager |  |
| Feature Lead |  |
| Developers | Christophe Bliard, Alexander Coles |
| 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** see relations sorted by creation date  
**so that** the chronology is clear.

**Acceptance criteria**

Currently relations are grouped by their visible/ghost status and then sorted chronologically.

*   Change the sort order in the UI to always sort by (WorkPackage) created\_at.
    
*   Remove grouping by visible/ghost status.
    
*   Order by the relation creation order, with oldest on top
    

**Permissions and visibility considerations**

*   N/A
