Similarly sorted

From Wikipedia, the free encyclopedia

Two sequences are similarly sorted if they are either both rising or both falling.
For instance

a_1 \geq a_2 \geq \cdots \geq a_n
b_1 \geq b_2 \geq \cdots \geq b_n

are similarly sorted (they are both falling as the index value increases).