I have a tutorial that shows you how to create a node that does exactly that in 1 step You can use it to sort in ascending order (default: low to high) or descending order (high to low).