How do I change the default filter?

I have some products that have the similar names, but are different types of products.

For example, protein powders and protein pills. If I have products named

“Protein-One-Powder” “Protein-Two-Powder” “Protein-One-Pill” “Protein-Two-Pill”

It displays:

Protein-One-Powder, Protein-One-Pill, Protein-Two-Powder, Protein-Two-Pill

But I’d like it to be:

Protein-One-Pill, Protein-Two-Pill, Protein-One-Powder, Protein-Two-Powder

The default grid on the product page shows the powders and pills intermingled because the filter is set to alphabetically sort. I would like to find a way to sort product based on type, so powders come first, then pills.

Any help would be greatly appreciated, even if it’s a module suggestion.

Thank you so much in advance.

submitted by /u/Mr-Bitter
[link] [comments]