# Sort Securities in Sharelist

`POST` `/v1/sharelists/{id}/items/sort`

Reorder the securities in a sharelist. The symbols list defines the new order.

## Parameters

### Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | Yes | Sharelist ID |

### Request Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbols` | string | Yes | Comma-separated security symbols, e.g. `AAPL.US,700.HK` (NOT a JSON array) |

## Request Example

```bash
curl --request POST \
  --url 'https://openapi.longbridge.com/v1/sharelists/<id>/items/sort' \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{"symbols":[]}'
```

## Response

### Response JSON Example

```json
{
  "code": 0,
  "message": "success"
}
```
