{"uid":"cap_gizPx_GM-sZvv4XQNpYW5","slug":"delx-commerce-numeric-array-sort-3d9eeff9","name":"Delx Commerce — Numeric Array Sort","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/arr-sort-num?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":[1,2,3],"schema":"delx/util-arr-sort-num/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0RQhSm2qv4YMN7CFQwO_F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts an array of numbers in ascending order and returns the sorted list with a count","exampleAgentPrompt":"Can you sort this list of numbers for me: [42, 7, 3, 99, 15, 1]?","exampleUseCases":[{"title":"Sort leaderboard scores for ranking","prompt":"I have a raw list of player scores — [4500, 320, 17800, 1200, 9900] — can you sort them in ascending order so I can build a leaderboard?"},{"title":"Order price data for analysis","prompt":"Sort these product prices for me: [29.99, 5.49, 149.00, 12.75, 89.50] — I need them in order from cheapest to most expensive."},{"title":"Rank sensor readings from IoT devices","prompt":"I've got a batch of sensor temperature readings — [23.1, 18.7, 30.4, 21.0, 27.8] — please sort them smallest to largest so I can identify the range."}],"resultDescription":"Returns a JSON object containing the sorted numeric array under the 'items' key, a 'count' of elements, and a schema identifier ('delx/util-arr-sort-num/v1'). Payment is $0.001 USDC per call via x402 on Base or Solana.","failureModes":["Non-numeric values in the array may cause a validation error or unexpected results","Empty array input may return a count of 0 and an empty items list","Malformed JSON body returns an error response","Payment failure via x402 results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a simple, trustless, pay-per-call numeric sort with verifiable delivery and no signup overhead — ideal for agents operating autonomously with USDC micropayment rails (x402 on Base or Solana) that need a deterministic utility function without standing up their own sort logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:45:09.395Z","isFirstParty":false,"canonicalSlug":"delx-commerce-numeric-array-sort-3d9eeff9"}