// THIS IS CRITICAL
/*
* Sort the 'tags' in reverse order alphabetically. The reason is as follows:
* If one tag is a prefix of another, like "bobby" and "bobby tables", then we
* want our regex to match "bobby tables" if it exists, and not just "bobby".
* Add another tag "tables", and we have three: "bobby", "bobby tables" and
* "tables". If we were to match the text:
* I am bobby tables
* we want the match to be "bobby tables", and not "bobby" and "tables"