adds ability to sort cust by mapics code