When you create ports in the Sorter transformation, you create input and output ports by default. The Sorter transformation returns the same output ports as input ports.
You can define dynamic ports in a Sorter transformation. A dynamic port can receive different columns of data from an upstream transformation in a mapping. This enables the Sorter transformation to sort rows that contain different columns.