unnecessary checking for sorting removed