<p>There is no current built-in solution for this.  I suspect they are displayed in the order they were added to the cart most likely.</p>

<p>Your best hope would be something like the cpjs addon and some magic JS to swap the rows, but it would be...non-trivial at best.</p>

<p><a href="https://github.com/lindseydiloreto/craft-cpjs" rel="nofollow noreferrer">https://github.com/lindseydiloreto/craft-cpjs</a></p>

<p>You might want to put in a feature request here:
<a href="https://github.com/craftcms/commerce/issues" rel="nofollow noreferrer">https://github.com/craftcms/commerce/issues</a></p>

CC BY-SA 3.0
2016-10-28T00:05:41.033Z
2018-03-28T23:56:02.663Z
2018-03-28T23:56:02.663Z
Jeremy Daalder
<p>Is there a way to sort the customer items by item number under commerce customer orders in the control panel?</p>

CC BY-SA 3.0
2016-10-27T21:54:16.047Z
Do you mean in the control panel or when listing customer orders in your templates?
Jeremy Daalder
CC BY-SA 3.0
2016-10-27T23:31:04.560Z
Yeah in the craft admin page
JustinTheeDude
<plugin-craftcommerce>
Display Items in customer order in a particular order
# Display Items in customer order in a particular order

(Asked by: username_0 on 2016-10-27)

Is there a way to sort the customer items by item number under commerce customer orders in the control panel?

**Tags:** plugin-craftcommerce

> **Comments:**
> **username_1**: Do you mean in the control panel or when listing customer orders in your templates?  
> **username_0**: Yeah in the craft admin page  

---

## 1 answers

### Answer by username_1 on 2016-10-28. Score: 2

There is no current built-in solution for this. I suspect they are displayed in the order they were added to the cart most likely.

Your best hope would be something like the cpjs addon and some magic JS to swap the rows, but it would be...non-trivial at best.

<https://github.com/lindseydiloreto/craft-cpjs>

You might want to put in a feature request here:
<https://github.com/craftcms/commerce/issues>


---

