I am looking for a method to check if values of a numeric 2D PHP array are in
incereasing , descending , or mixed order.
Example:
array( 1, 2, 3, 4 ) // This is an incereasing numeric array
array( 4, 3, 2, 1 ) // This is a descending numeric array
array( 1, 3, 2, 4 ) // This is a mixed numeric array
How could I check it? ( i am looking for a fast method, it needs to run qickly )