sortparametre
Sortparametre is a parameter used in software to specify the ordering of items in a collection. It is commonly employed in databases, web APIs, and user interfaces to determine how results should be presented. A sortparametre typically encodes both the field to sort by and the direction of the sort (ascending or descending).
Implementation varies. In RESTful APIs, the parameter is often passed in the query string, for example sort=name
Multi-criteria sorting is common and is expressed by listing multiple keys, sometimes with combined signs, e.g.,
Best practices: validate the requested fields against a whitelist, ensure proper indexing for the sort fields,
Notes: 'sortparametre' is not a universal standard name; different systems choose different parameter names. Understanding its