sort for customer details