You can order by fields in CrudAppService even if they are not defined in the DTO. I am not sure if this is meant to be like that. Related code: https://github.com/abpframework/abp/blob/0a1568781df03fe9c86dc38cb7d47b95389cdf0b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs#L188
You can order by fields in CrudAppService even if they are not defined in the DTO. I am not sure if this is meant to be like that.
Related code:
abp/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs
Line 188 in 0a15687