Skip to content

Order By Queries

You can sort the table using the following approach:

XASC sorting

>>> result = table.xasc("salary")

XDESC sorting

>>> result = table.xdesc("salary")

Sort by multiple columns

>>> result = table.xdesc("name", "salary")