**Sorting Algorithm Tutorials - Herong's Tutorial Examples** - 6.12, by Herong Yang

Introduction of Sorting Algorithms

This chapter provides a quick introduction of sorting algorithms. Topics include what is sorting; why sorting is needed; most popular sorting algorithms.

Conclusions:

- Sorting is to organize a collection of data elements based on the order of a comparable property of each element.
- Popular sorting algorithms are Selection Sort, Insertion Sort, Bubble Sort, Quicksort, Merge Sort, Heap Sort and Shell Sort.

Table of Contents

►Introduction of Sorting Algorithms

Java API for Sorting Algorithms

Insertion Sort Algorithm and Java Implementation

Selection Sort Algorithm and Java Implementation

Bubble Sort Algorithm and Java Implementation

Quicksort Algorithm and Java Implementation

Merge Sort Algorithm and Java Implementation

Heap Sort Algorithm and Java Implementation

Shell Sort Algorithm and Java Implementation

Sorting Algorithms Implementations in PHP

Sorting Algorithms Implementations in Perl

Sorting Algorithms Implementations in Python