sort kernel fix