# Bug OP-14888 - Sort order of wiki pages in side-menu wrong / inconsistent

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.5.0 |
| Observed in versions |  |
| Sprint | 14.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 | Oliver Günther |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Context

The goal is to sort wiki pages in a specific order within a project.

### Steps to reproduce

1.  Create multiple wiki pages and add them to the project's side menu.

2.  Add a number in front of them to sort them in the desired order.

### What is the buggy behavior?

  - On the wiki page itself (when displaying the sub pages), the order is as expected but in the project menu (when the wiki page has been added to the side menu), the order is apparently exactly the other way around which is unexpected.

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100312/content">

 <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/100310/content">

### What is the expected behavior?

1.  The wiki pages are sorted alphanumerically (in the same way) in both the wiki page and the project's side menu. (Even better would be if the wiki pages could be sorted freely.)

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [x] Hosted cloud edition

- [ ] Packaged installation
  
    - What distribution?

- [ ] Docker All-in-one container

- [ ] Docker-compose installation

- [ ] Other (please specify)

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5*

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)
