Well, if $S$ is an ordered finite set, we can suppose, that there is $n$ such that $S$ is isomorphic (in the mean of ordering) to the set $\{1,2,3,\ldots\}$.
So, we can suppose $A=\{1,2,3,\ldots,n\}$ and $B=\{1,2,3,\ldots,m\}$. Consider first the case, when $n$ is not greater than $m$
If we would have to count the strictly increasing functions from $A$ into $B$, we would have just to count the subsets of $B$ containing $n$ elements, because a strictly monotone increasing map from $A$ into $B$ is determined by its image.
To step further, we have to notice, that if $b_1,\ldots,b_n$ is a non-decreasing sequence in $B$, then $b_1, b_2+1, \ldots, b_n+n-1$ is a strictly increasing sequence in $\{1, 2, \ldots, m+n-1\}$. We can check, if two non-decreasing sequence isn't the same, the derived increasing sequence isn't the same too. On the other hand, if $c_1,c_2,\ldots,c_n$ is a strictly increasing sequence in $\{1, 2, \ldots, m+n-1\}$ then $c_1,c_2-1,\ldots,c_n-n+1$ is a non-decreasing sequence in $B$. Different increasing sequences in $\{1, 2, \ldots, m+n-1\}$ determine different non-decreasing sequences in $B$. With this we outlined, how to prove, that number of the non-decreasing functions from $A$ in $B$ is the same as the number of increasing sequences in $\{1,2,\ldots,m+n-1\}$ having $n$ members.
The other case, when $n$ is greater than $m$ is a bit more difficult.