1. A computer system comprising: one or more computer processors; one or more computer-readable storage media; and program instructions stored on at least one of the one or more computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising: program instructions to evaluate whether a subset of a dataset is sorted; and program instructions to process the dataset if it is determined that the subset of the dataset is sorted.