Update combined sort method.