cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dropbox API v2 listFolder sort files by creation time

Dropbox API v2 listFolder sort files by creation time

varun m.1
New member | Level 2

Hi

 

I am using Java SDK of Dropbox API v2 in my Android app. I use listFolder() to list the contents of the folder. This folder only has files in it, no sub folders.

 

ListFolderResult result = mDbxClient.files().listFolder(somePath);

 I want 'result' to contain files ordered by:

1. Creation time on server

2. Name of file

 

How can I achieve this? Please help.

7 Replies 7

Greg-DB
Dropbox Staff

The API doesn't offer options for sorting/ordering the returned metadata, but I'll be sure to pass this along as a feature request. 

 

You can sort the entries in your application's own code of course after you receive them, but make sure you process them in the order returned first to make sure you get an accurate representation of the account, per the documentation.

ManigandanV
New member | Level 2

Any update on this?

Greg-DB
Dropbox Staff

@ManigandanV No, I don't have an update on this feature request.

hb-dev
Explorer | Level 4

Is there an update on this?

Greg-DB
Dropbox Staff

@hb-dev No, unfortunately there's no news on this request.

Rolana
Helpful | Level 5

Is there an update on this?

Greg-DB
Dropbox Staff

@Rolana No, I don't have any news on this feature request.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Rolana Helpful | Level 5
  • User avatar
    hb-dev Explorer | Level 4
What do Dropbox user levels mean?