sort a part of a list in place,a[i:j].sort()