Fix sorting in customer/contact rows