Added sorting of leases before asserting.

Misc reviewer changes.
3 jobs for skip-ddns in 28 seconds
latest