Sorting
Overview
Sorting helps organize your query results based on one or more columns in ascending (ASC
) or descending (DESC
) order.
Using Sorting
In QueryDeck, you can specify sorting options by adding an order_by
parameter to your query configuration on the left side pane.

Example Sorting Request
To sort customers
by last_name
in ascending order, choose the required options in the dropdown of the pop up.

Then click on the 'plus' button to save and exit popup

copy endpoint from the top right corner

click on the save button

Testing
Goto postman, paste the endpoint and hit send

you should get a response similar to the one below, where records are sorted by last name in ascending order

Last updated