Then the "Employees" table should be sorted by "Name" ascending

The column a table is sorted by, and in which order (its header's aria-sort).

Examples

Then the "Employees" table should be sorted by "Name" ascending
And the table should be sorted by "Age" descending
Then the "Employees" table should be sorted by "Age" descending
And the table should be sorted by "Users" ascending
Then the "Customers" table should be sorted by "Last seen" descending

Pattern

Then(/^the (?:"([^"]*)" )?table should be sorted by "([^"]*)" (ascending|descending)$/, …)

Part of @webship-js/material-ui-steps (github.com/webship/material-ui-steps), a step pack for Webship-js 2.0.x.