Sorts a table by a specific column.
Playwright Page (or compatible subset).
The UI5 control ID.
Zero-based column index.
Optional
Sort options (descending defaults to false).
ControlError if the sort cannot be applied.
await sortByColumn(page, 'myTable', 0, { descending: true }); Copy
await sortByColumn(page, 'myTable', 0, { descending: true });
Sorts a table by a specific column.