Project: moodle
Issue MDL-51460: List frameworks' API function does not support order
This is a recent regression, the parameters $sort and $order need to be combined because passed to _get_records_select_ otherwise the $order is not respected. Unit tests should be added to confirm this behaviour.
Story points: 1