Sorting by One Attribute, and then Another on Output Pages

Sorting by width then length, keeping width priority.  Example: panels that are all 15" wide, but all different lengths. 

You can do that by clicking on the 'width' header on the page until it's sorted in ascending order, then clicking on the 'length' header when which do secondary sorting. Like this: