In this Power Shell example let us sort out an array of three strings in ascending order.
"Hello", "Rainy", "day" | sort
The above command will produce the below sorted outcome.
day Hello Rainy
As you can see those strings go through the Power Shell pipeline and get sorted by the Power Shell sort cmdlet object and then the result gets posted on the screen.