{"uid":"cap_VUMz-SGNfE_D6Z7qlIyUL","slug":"delx-array-sort-string-e0aa1d09","name":"Delx Array Sort String","description":"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.","url":"https://api.delx.ai/api/v1/x402/arr-sort-str","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":["a","b","c"],"schema":"delx/util-arr-sort-str/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_MPcElw_tQsz9LEJaxMaln","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 string items lexicographically and returns the sorted list with a count","exampleAgentPrompt":"Can you sort this list of labels alphabetically: ['banana', 'apple', 'cherry', 'date']?","exampleUseCases":[{"title":"Alphabetize product category tags","prompt":"I have these category tags for my store — ['Widgets', 'Accessories', 'Bundles', 'New Arrivals', 'Sale'] — can you sort them alphabetically so I can display them in the nav menu in order?"},{"title":"Order status labels for a pipeline","prompt":"Sort these pipeline stage names into alphabetical order for me: ['Review', 'Draft', 'Approved', 'In Progress', 'Rejected', 'Published']."},{"title":"Sort user-submitted options list","prompt":"My users submitted these answer choices in a survey and I need them displayed alphabetically: ['Strongly Agree', 'Neutral', 'Disagree', 'Agree', 'Strongly Disagree'] — can you sort them as strings?"}],"resultDescription":"Returns a sorted array of the input strings in lexicographic (alphabetical) order, along with a count of the total number of items sorted.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:47.856Z","isFirstParty":false}