another sorting issue for printing