Fix elasticsearch UUID updating to address pagination issues.

Without sorting, the elasticsearch from/size queries seemed to not
catch everything.