CMS-2529 Implement translation of OrderExpr and DynamicOrderExpr

Added field-sorting and geoDistance sort