We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Naga Abhinaya T
8 years agoExplorer | Level 4
File Listing in Ascending/Descending order
Hi,
We have File/Folder listing based on Alphabetical sorting in Dropbox UI. Is there a way to achieve the same using REST APIs? Also, In what order, are the files/folders given as response fro...
Greg-DB
Dropbox Community Moderator
8 years agoThe Dropbox API doesn't offer the ability to sort/order files server-side, e.g., when using /2/files/list_folder[/continue], but I'll pass this along as a feature request.
The order they are returned in is the order you should process them in, in order to receive an accurate representation of the remote state of the Dropbox folder.
That being the case, you'll need to download and process the entries in the order provided, and then apply whatever ordering you want client-side for your UI.
The order they are returned in is the order you should process them in, in order to receive an accurate representation of the remote state of the Dropbox folder.
That being the case, you'll need to download and process the entries in the order provided, and then apply whatever ordering you want client-side for your UI.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!