---
title: "Modifying the sort order of categories and products in osCommerce"
description: "When you are working with your products and their categories in your store, you may come across a time when you need to reorganize the way they are listed. This is done by changing the Sort order..."
url: https://www.inmotionhosting.com/support/edu/oscommerce/change-sort-order/
date: 2013-04-18
modified: 2021-08-16
author: "Scott Mitchell"
categories: ["OsCommerce"]
type: post
lang: en
---

# Modifying the sort order of categories and products in osCommerce

When you are working with your products and their categories in your store, you may come across a time when you need to reorganize the way they are listed. This is done by changing the Sort order setting. Below are instructions for changing the sort order for categories and products in your osCommerce store via the admin panel.

## How to change the sort order for categories and products in osCommerce

1. [Log into your osCommerce admin interface](/support/edu/oscommerce/how-to-log-into-oscommerce/).
2. [![click catalog menu option](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_102_add-manufacturer_1-click-catalog.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_102_add-manufacturer_1-click-catalog.png) Using the left hand menu, find and click the **Catalog** button.
3. From there, click on the **Categories/Products**.
4. [![click edit button](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_2-click-edit.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_2-click-edit.png) Once on the Categories/Products page, click on the row for the category or product you want. An arrow will appear on the far right side of the row. Next to that you will see several buttons. Click on the **Edit** button.
5. [![edit sort order field](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_3-change-sort-order.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_3-change-sort-order.png) This brings up the data for the category or product. In our example, we are going to move the *Pets* category. Look for the **Sort Order** field. From here, enter your new value. The lower the number, the higher it will appear in the list. If you give multiple categories/products the same sort order, they will then order themselves alphabetically.
6. Click on the **Save** button to save the new sort order. Below is an example of how the category list changes when you change the sort order. Before After [![before sort order is changed](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_before.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_before.png) [![after the sort order is changed](https://www.inmotionhosting.com/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_after.png)](/support/wp-content/uploads/2013/04/edu_oscommerce_102_change-sort-order_after.png)
