Back

#lists

2 APIs with this tag

Sort API

Sort a list — or an array of objects by one of its keys — the way you actually want. Natural (alphanumeric) ordering puts file2 before file10 and v1.9 before v1.10, the way humans expect; alphabetical, numeric and by-length orderings are also built in, each ascending or descending, with an optional case-insensitive mode. Items can be plain strings (comma- or newline-separated) or a JSON array; for objects, give the property to sort by and rows missing it go last. Perfect for file and version lists, leaderboards and tables, tidying user input and any UI that shows sorted data. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from set operations and CSV tooling.

api.oanor.com/sort-api

Set Operations API

Treat lists as sets. Compute the union, intersection, difference or symmetric difference of two lists; deduplicate a single list; and compare two lists to learn whether one is a subset of the other, whether they are equal as sets, whether they are disjoint and how many items they share. Items can be plain strings (comma- or newline-separated) or arbitrary JSON values, and an optional case-insensitive mode treats differently-cased strings as equal. Order is preserved (first occurrence wins). Perfect for data wrangling and reconciliation, tag and permission maths, deduplication, A/B list comparison and ETL. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from CSV/JSON toolkits — this is pure set logic.

api.oanor.com/setops-api