Add support for sorting the contacts proxy model by lastname.

This implementation needs some changes if we are to support other sorting orders as well.