A question about sort

You clipped too early the 2nd one is correct