The products are (or are not) sorted by that option: the address carries it, or, with no sort in the address, the sort control shows it.
Examples
Then the products should be sorted by "Price, low to high"
Then the products should be sorted by "Featured"
And the products should be sorted by "Alphabetically, A-Z"
Then the products should not be sorted by "Best selling"
But the products should not be sorted by "Price, high to low"
Pattern
Then(/^the products should( not)? be sorted by "([^"]*)"$/, …)
Part of @webship-js/shopify-steps (github.com/webship/shopify-steps), a step pack for Webship-js 2.0.x.