query/all can now use ascending/descending order. api has also changed to allow for this