Sort Order
It's a good idea to have an understanding of sort orders and how to control the order in which your products, categories and EZ pages display. Let's say you have three items:
If you did not specify any order .. they would display alphabetically .. as above. If you wanted them to be in this order:
You would have to assign a number to each one. The lowest number would be the first to display. If your numbers were in increments of 1 ... you would have 1, 2, 3
- Banana (1)
- Cat (2)
- Apple (3)
While this would work just fine .... what would happen later, when you needed to add another item in between Cat and Apple? You can't use decimals or fractions. So .. how about:
- Banana (10)
- Cat (20)
- Apple (30)
That way ... you are still sorting .. but have left room in case later, you need to add Book in between Cat and Apple
- Banana (10)
- Cat (20)
- Book (25)
- Apple (30)
Now you still have room for more items in between. If you anticipate a huge list .. you could consider using hundreds:
- Banana (100)
- Cat (200)
- Book (250)
- Apple (300)
You set the sort order in the "Sort Order" box near the bottom of all product entry and category entry pages.
You can use the same sorting rules and apply them to E-Z Pages (if you are using them) .... but that's another tutorial ....
|