Section: Filtering, sorting, and search

Sort by multiple fields

http
http
GET /users?sort=last_name:asc,first_name:asc
Explanation

Secondary sort keys reduce unstable ordering when many rows share the same primary value.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Filtering, sorting, and search
Sort descending by one field
Ask for newest records first.
OpenIn sheethttpsame section
Filter by exact field values
Restrict a collection by one or more fields.
OpenIn sheethttpsame section
Free-text search parameter
Search collection text with a query term.
OpenIn sheethttpsame section
Filter by a date range
Use ISO timestamps for time-based queries.
OpenIn sheethttpsame section
Use a stable sort key with cursors
Paginate in a deterministic order.
OpenIn sheethttp2 tag match
Offset pagination
Simple page and limit contract.
OpenIn sheethttp1 tag match