The default categories’ classification within PrestaShop is done alphabetically. You want to bypass this system and classify them according to your own criteria?
1 - Go to the Catalog tab, and create a category, or edit an existing one.
2 – In the “Name” field, add a number, followed by a point, preceding the name of the category, like this: 01.Shoes or 1.Shoes, 100.Shoes...
Name the following ones on the same model: 02.Socks, 2.Socks, 200.Socks, 03.Laces...etc.
Choosing spaced numbers allows you to insert new categories, so you do not have to rename each of them to insert new ones.
This operation also applies to sub-categories:
On the Front-Office side, the numbers assigned to categories are not displayed, and these appear to be classified according to your choice.