Sort chunks manually before building up the completeUpload payload