sorted array test started