2i Sort and Regex Features

New 2i Sort and Regex Features for issue #340.