Comment 1 for bug 1336530

Revision history for this message
Tim Burke (1-tim-z) wrote : Re: sort_dir and sort_key param for objects list

We did finally add a 'reverse' param in https://review.openstack.org/#/c/120709/ (available in Swift 2.6.0 [Mitaka] and later). I think this should be sufficient for reverse paging, though the results may need to be reversed again to maintain the expected presentation.

Adding a 'sort_key' will be more difficult, as we don't have indexes on 'bytes' or 'last_modified'. 'content_type' might also be an interesting field to sort/filter on.

See also: bug 1521363, which looks for just 'last_modified' support.