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

**How it works:**
Provide an array of work activity 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 `["activity-2", "activity-1", "activity-3"]`, the activities will be displayed in that order in time tracking dropdowns.

**Note:** The order affects how activities appear in time entry forms and reports.

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