fix sorts