array: find sorted array rotation