Quicksort is a a very elegant and fast sorting algorithm.
This shows how I program quicksort functionally in Java. A functional program is one whose functions do not affect the values of any of their parameters. Programming in this way makes our programs much easier to follow.