Sorted Matcher

Added support of sorted matcher.