You want to sort file in descending or ascending order by using the following API:
/iotfile/v3/files/
Solution
You can sort the files in descending or ascending order by using the below API request:
/api/iotfile/v3/files/[asset id]?order=name desc
/api/iotfile/v3/files/[asset id]?order=name asc
Note: You need to replace [asset id] with the actual asset ID.
Notes