# Bug OP-6042 - Sorting of card view is not the same as in the list

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 10.0.0 |
| Observed in versions | 10.5.0 |
| Sprint | 10.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.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

### **Environment**:

Your OpenProject Version: unreleased/dev

### **Steps to reproduce:**

1.  Go to the WP page
    1.  There should be parents and child WP
2.  Disable the hierarchy
3.  Manually sort the **flat** list so that for example a child is before a parent
4.  Activate the Card view

### **Actual Behavior**

*   The order is weird, it seems as if first all parents, then all children are listed

![](/api/v3/attachments/15996/content)

### **Expected Behavior**

*   The order of the flat list is applied
