PT-47609155 CON-433 - Sort list of locations such as the primary is always first. Then, list is sorted by location_id.
code review: Alex M
Merge branch 'release-4.6' into LDAP
XX-10618 Delete/Disable fixed chunks of users imported from LDAP

-fixed chunk of 50 for delete (db listeners are executed. this is the optimum value)
-fixed chunk of 500 of disable (only mongo is touched, 500 is optimum)