nextRun

fun nextRun(): Int

Compute the length of the next run, make the run sorted and return its length.