---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Reorders todos within a component item by… Reference for the POST
    /projects/{projectId}/items/{itemId}/todos/sort endpoint in the Leadtime
    Public API.
sidebar:
  label: Sort todos within an item
  badge: POST
title: Sort todos within an item
type: openapi-operation
---
Reorders todos within a component item by providing a new sort order array. The sort order determines the display order of todos in the UI and affects condition evaluation order. All todos in the newSortOrder array must belong to the specified item. This operation automatically recalculates conditions if needed and marks the project configuration as changed.

`POST /projects/{projectId}/items/{itemId}/todos/sort`
