Fix manage orders view

The @@manage-orders view never worked for me. Here is the little fix for the sorting.

Would be cool to have a rls soon!