Write an efficient algorithm that searches for a value in an $n \times m$ table (two-dimensional array). This table is sorted along the rows and columns that is.
\[\begin{array}{l}\text { Table }[i][j] \leq \text { Table }[i][j+1] \\
\text { Table }[i][j] \leq \text { Table }[i+1][j]\end{array}\]