Made sorting 10 times faster
Made changing name order ~30% faster.
Make sure all address books are activated on upgrade.

Workaround for the regression that address books can't
be (de)activated.