uploadArchives artifact order

the uploadArchives task seems to upload the artifact in alphabetical order, can i change it to be dependency order?