Are your FeatureClasses stored in an enterprise GDB (e.g., Oracle, SQL Server)? I believe OrderBy functionality is only supported in an enterprise GDB and will not work with a file GDB.
Are your FeatureClasses stored in an enterprise GDB (e.g., Oracle, SQL Server)? I believe OrderBy functionality is only supported in an enterprise GDB and will not work with a file GDB.