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

**How it works:**
Provide an array of task type 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 `["type-feature", "type-bug", "type-support"]`, the task types will be displayed in that order in task type dropdowns and selection lists.

**Note:** The order affects how task types appear when creating new tasks or filtering by type.

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