Now this is worthy of the pullrequest tag, which I have added.
I have force-pushed changes to this branch that actually get the sort fix right, plus we now fall back to a simple alphabetical sort for the shelving location column if shelving location order isn't defined (you know, the order you can set in the drag-and-drop interface in the staff client labeled Copy Location Order).
Now this is worthy of the pullrequest tag, which I have added.
I have force-pushed changes to this branch that actually get the sort fix right, plus we now fall back to a simple alphabetical sort for the shelving location column if shelving location order isn't defined (you know, the order you can set in the drag-and-drop interface in the staff client labeled Copy Location Order).