> For the complete documentation index, see [llms.txt](https://ce-docs.keywordrush.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ce-docs.keywordrush.com/frontend/product-sorting.md).

# Product sorting

### Sorting for module shortcodes

Drag-and-drop to order items manually for [module shortcodes](https://ce-docs.keywordrush.com/frontend/pages/-MTUeqMBxUPDkLFSZ_Op#id-4.-module-shortcodes).

<figure><img src="/files/QSKvYm0qSPbq7RiVxG2K" alt=""><figcaption></figcaption></figure>

You can also add [sort/order](/frontend/shortcode-parameters.md#sort) shortcode parameters to sort by price or discount.

### Sorting for global shortcodes

Sorting in [global shortcodes](https://ce-docs.keywordrush.com/frontend/pages/-MTUeqMBxUPDkLFSZ_Op#id-5.-global-shortcodes) depends on the template. Usually products will be sorted by price.

<figure><img src="/files/sax5mMDzYYxkUfR6SCSZ" alt=""><figcaption></figcaption></figure>

You can add **custom sorting** to global shortcodes by setting product positions in the Order field. A lower value means the product will rank higher in the list.

<figure><img src="/files/q6AowpOYZizj5c9RjJCU" alt=""><figcaption></figcaption></figure>

The next method also works but is currently **deprecated**. You can add product positions in square brackets directly in the titles.

<figure><img src="/files/yyZMxXicoGCFPIgZz7hE" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tIDMMTIUTOfsCYMGc3Uz" alt=""><figcaption></figcaption></figure>
