the generated positions are already sorted, since they are only pushed from the outer most scope, no need to sort again