sorted matrix search added