Allow Distinct On to auto set the order
Give a setting like distinct_on.auto_order
and when is set to true and a query statement that has Distinct On is created without an order, auto set the same columns from the Distinct On operator to the order.