Fix column sorting when called via options.sortBy API

I tried using the sortBy() API via $scope.gridOptions.sortBy() and ran into an error with 'evt' not being defined.  This adds the check.