Sort the listing by a column, with the link of its header. A second click on the same column reverses the order.
Examples
When I sort the listing by "Title"
When I sort the listing by "Updated"
When we sort the listing by "Content type"
And I sort the listing by "Username"
When sort the listing by "Size"
Pattern
When(/^(I |we )*sort the listing by "([^"]*)"$/, …)
Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.