Schensted Theorem for Weakly Increasing Subsequences