Reorder getAssignmentForWork to prioritize already uploaded pairs.
Adds missing fileSizes.
Resorts by smallest files first.