No, it doesn't sort it in reverse either. It sorts it in reverse from the back (`a[$-5..$].isSorted`).