I have a page on my website which displays product categories in a 3x3 tile layout.
Currently I'm getting the distinct product categories out of the database and looping over the returned array to display the 9 tiles.
This is all working fine but the current order of the tiles is alphabetical. The customer has just come back asking to have them in a very specific order and I'm confusing myself over and over about how to achieve this.
Current Order:
Agri, Bespoke, Dairy, Farm, Forest, General, Grain, One off, Red Meat
Order Wanted:
Dairy, Red Meat, Forest, Grain, General, Farm, Bespoke, One off, Agri
Can someone point me in the right direction about what would be needed to achieve this?