removed sort in HTML and instead added conditional to use subcategory titles as sort_key