- Why sort JSON keys?
- Deterministic output — two equivalent JSON documents produce the same bytes, which makes diffs, hashes, git history, and cache keys much more useful.
- Does it sort arrays?
- No. Arrays are order-sensitive in JSON (they represent sequences). The tool sorts object keys recursively but leaves array element order untouched.
- Is it case-sensitive?
- Yes — capital letters sort before lowercase (ASCII order). Toggle case-insensitive mode if you want 'Apple' and 'apple' to sort together.
- Will sorting change my API responses?
- Yes — clients that rely on key order will break. Most JSON consumers are order-independent, but double-check before sorting production data.