The Query Statistics on service that use FileGeodatabase with Geometry (intersects) and OrderBy field are failing.
The same query statistics without orderby field is working fine.
The same query statistics with orderby field and without geometry also is working.
The same query on service that use Enterprise Geodatabase is working fine.
The problem is in ArcGIS Server 10.3.1. Someone can confirm if is it a BUG?