---
search:
  tags:
    - administration
    - POST
seo:
  description: >-
    Updates the display order of task statuses. Reference for the POST
    /administration/task-settings/statuses/sort endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Reorder task statuses
title: Reorder task statuses
type: openapi-operation
---
Updates the display order of task statuses.

**How it works:**
Provide an array of task status IDs in the desired order. The first ID in the array will have sort order 1, the second will have sort order 2, and so on.

**Example:**
If you provide `["status-new", "status-in-progress", "status-done"]`, the statuses will be displayed in that order in Kanban boards, dropdowns, and status lists.

**Note:** The order affects how statuses appear in task workflows and visual boards. Typically, you want statuses ordered to reflect the natural workflow progression.

<Operation source="api-reference" id="tasksettingscontroller-sorttaskstatuses" />
