Sort the product categories using liquid tags.