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

[2.1] Add $SortField and $SortDirection for EventArguments in GetWhere()
Merge pull request #1721 from shadowdare/patch-7

Add sort options for discussion lists