Currently, Apache Iceberg does not support specifying sort order directly in CREATE TABLE ... AS SELECT (CTAS) and REPLACE TABLE ... AS SELECT (RTAS) operations in Spark SQL. The only way to set a ...