Hi @Picto, you can specify the way files are sorted in a returned list via the datetime_uploaded parameter. Use datetime_uploaded for ascending order and -datetime_uploaded for descending order.
See the REST API reference for more information about listing files: