Fixed sorting bug on customerTab