We can generalize the notion of real monotone functions to functions between any two sets with total partial orders.
Let $(A, \geq_A)$ and $(B, \geq_B)$ be two partially ordered sets. $f:A \to B$ is isotonic if it is order preserving and antitonic if it is order reversing. A function is monotonic if it is either antitonic or isotonic.1