Sort the list by a column, by clicking its heading until the list is sorted the way asked (ascending unless "in descending order").
Examples
When I sort the list by "title"
When I sort the list by "title" in descending order
And I sort the list by "id" in ascending order
When I sort the list by "slug"
When I sort the list by "id" in descending order
Pattern
When(/^I sort the list by "([^"]*)"(?: in (ascending|descending) order)?$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.