Thanks for this, the only problem was that the ordering we were wanting to use was ORDER, ie whatever order they are arranged into within the backend so that the the client can choose the order to display the items (at least pre-filtering).
There doesn't appear to be an option for ORDERING? For now I've just adjusted the helper file query to order by a.ordering DESC instead.