another sort fix