[2.1] Add $SortField and $SortDirection for EventArguments in GetWhere()

Allow sorting of discussions in controllers that use DiscussionModel()->GetWhere(), such as CategoriesController. 2.2+ master branch already has this, but this will be useful for plugins in 2.1.