How it works
Require the selected property on every object with the chosen type. Perform a stable numeric or UTF-16 text sort and preserve complete objects.
Input definitions
- JSON array
- Plain text; maximum 200,000 characters.
- Top-level sort property
- Enter the value in the labeled unit.
- Sort property as
- Choose Number / Text.
- Direction
- Choose Ascending / Descending.
A worked example
- JSON array
- [{"name":"Lin","score":20},{"name":"Ada","score":10}]
- Top-level sort property
- score
- Sort property as
- Number
- Direction
- Ascending
Assumptions & limits
Browser-local JSON processing, at most 10,000 nodes and 50 nesting levels. Object-array operations accept up to 1,000 objects. JavaScript JSON numbers use floating-point precision; this is not schema certification. Generated JSON preserves parsed values, not original formatting.
Sources & review
Maintained by AnsRio. Methods and examples use automated checks; this does not imply independent professional certification.
Method updated 2026-10-17. Content checked against the stated method and examples. Our verification approach.
Common questions
What happens when two objects have equal sort values?
Their original relative order is preserved. Missing properties and mixed types are rejected rather than silently sorted into an arbitrary position.
How does Sort a JSON object array by a property work?
Require the selected property on every object with the chosen type. Perform a stable numeric or UTF-16 text sort and preserve complete objects.
What are the limits of Sort a JSON object array by a property?
Browser-local JSON processing, at most 10,000 nodes and 50 nesting levels. Object-array operations accept up to 1,000 objects. JavaScript JSON numbers use floating-point precision; this is not schema certification. Generated JSON preserves parsed values, not original formatting.
How do I keep the full worksheet?
Run the tool and choose Download file. The on-page table is a preview and may show only the first 20 rows; the downloaded file contains the full result. CSV downloads escape spreadsheet formula prefixes. Inputs and files are processed on your device.