Laravel Eloquent Query Builder throws an exception when the orderBy method is used with an incorrect $direction value.
Add the same exception to laravel-mongodb, but allow (1, -1) and (asc, desc )
Laravel Eloquent Query Builder throws an exception when the orderBy method is used with an incorrect $direction value.
Add the same exception to laravel-mongodb, but allow (1, -1) and (asc, desc )