[libcontacts] Separate config variables for sort and display order

Order of first/last name display, and which item to sort by should
be independent.