Example of Erdos-Szekeres bound being tight
Solution 1:
HINT: $k=4$:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*