resolve another sorting issue