Java , 3 sorter.