# Survey Array Sorter

> Survey Array Sorter is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Sorts a list of numbers or strings in ascending or descending order, optimized for survey data workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/sort-values-survey?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/survey-array-sorter-8ecc2afd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_08LOGV502ibYnh9CEADPd

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 survey-array-sorter-8ecc2afd -d '<json body>'
```

Example prompt: Can you sort this list of survey scores for me: 8, 2, 5, 1, 9, 3? I need them ordered from smallest to largest.

## When to prefer this

Use this endpoint when you need a simple, fast sort of numeric survey data or string lists within an automated survey workflow and want to avoid implementing sorting logic yourself. Best for lightweight, single-array sorting tasks where cost ($0.01/call) is acceptable for convenience in an agentic pipeline.

## Known failure modes

- Non-numeric values passed when numeric sorting expected — may cause type errors
- Empty array input — may return empty result or error
- Mixed types (numbers and strings) in same array — undefined sorting behavior
- Malformed JSON input — returns 400 or parsing error
- Very large arrays may exceed payload limits

## How this service works

Survey Array sorter: Sort a list of numbers or strings. Tailored for survey workflows.

## Output

Returns a sorted array of numbers (or strings) in ordered sequence, suitable for downstream survey analysis or data display.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "default": [
    8,
    2,
    5
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/survey-array-sorter-8ecc2afd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
