Add sort by regex

Removed the end with number regex and included match bu regex. resolve issue #34