# Delx Array Sort String

> Delx Array Sort String is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Sorts an array of string items lexicographically and returns the sorted list with a count

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/arr-sort-str
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-array-sort-string-e0aa1d09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUMz-SGNfE_D6Z7qlIyUL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-array-sort-string-e0aa1d09 -d '<json body>'
```

Example prompt: Can you sort this list of labels alphabetically: ['banana', 'apple', 'cherry', 'date']?

## When to prefer this

Choose this endpoint when an agent already holds a list of string labels, tags, names, or categories and needs them sorted lexicographically without shipping a local sort utility or calling a heavier general-purpose API. Ideal for lightweight in-pipeline sorting steps where no external data fetch or complex logic is needed. Best when deterministic, stable alphabetical ordering is sufficient and cost ($0.001 USDC) is acceptable per call.

## Known failure modes

- Non-array input returns a validation error
- Passing non-string elements in the array may cause unexpected sort behavior or an error
- Empty array input may return an empty sorted list with count 0
- Payment failure via x402 will block the call from completing

## How this service works

Sort a list as strings. Call when you order agent-held labels stably. Returns sorted strings and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a sorted array of the input strings in lexicographic (alphabetical) order, along with a count of the total number of items sorted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "description": "Input field: items."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "items": [
   "a",
   "b",
   "c"
  ],
  "schema": "delx/util-arr-sort-str/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-array-sort-string-e0aa1d09/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
