We recently added a sortby field to the API which allows you to sort by: created (date), name, version, length
sortby
created
name
version
length