---
search:
  tags:
    - administration
    - POST
seo:
  description: >-
    Updates the display order of project… Reference for the POST
    /administration/project-settings/categories/sort endpoint in the Leadtime
    Public API API.
sidebar:
  badge: POST
  label: Reorder project categories
title: Reorder project categories
type: openapi-operation
---
Updates the display order of project categories by providing an ordered array of category IDs.

**How it works:**
1. Provide an array of category IDs in the desired display order
2. The first ID in the array will have sort order 0, second will have 1, etc.
3. Categories not included in the array will maintain their current sort order

**Example:**
If you provide ["cat-3", "cat-1", "cat-2"], then:
- cat-3 will appear first
- cat-1 will appear second
- cat-2 will appear third

**Note:** This affects the order in which categories appear in dropdowns and lists throughout the application.

<Operation source="api-reference" id="projectsettingscontroller-sortprojectcategories" />
