diff --git a/flytekit/models/core/workflow.py b/flytekit/models/core/workflow.py index cd4af0c467..50153ddc06 100644 --- a/flytekit/models/core/workflow.py +++ b/flytekit/models/core/workflow.py @@ -423,7 +423,7 @@ def to_flyte_idl(self) -> _core_workflow.ArrayNode: execution_mode=self._execution_mode, is_original_sub_node_interface=BoolValue(value=self._is_original_sub_node_interface), data_mode=self._data_mode, - bound_inputs=self._bound_inputs, + bound_inputs=sorted(self._bound_inputs), ) @classmethod