Sort after update on DWH

shusharin_anton
New Contributor II

Running query on serverless DWH:

UPDATE
catalog.schema.table
SET
col_tmp = CAST(col as DECIMAL(30, 15))

In query profiling, it has some sort and shuffle stages in graph.
Table has partition by partition_date column
Some details in sort node mentions that sort happens on
catalog.schema.table.partition_date ASC NULLS FIRST

What triggers it?
Some kind of post-optimization like optimizeWrite (tried to disable it - do not work)?