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

**How it works:**
Provide an array of custom field 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 `["field-3", "field-1", "field-2"]`, the fields will be displayed in that order in task forms.

**Note:** The order affects how fields appear in task creation and editing forms.

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