sort fix