sorting

Sorting

Lately, I have been learning/reading about Sorting, so here are a few links:

This article (http://blog.rodneyrehm.de/archives/14-Sorting-Were-Doing-It-Wrong.html) got me started on sorting in the first place.

The first couple of links are Wikipedia as always;

Sorting is any process of arranging items in some sequence and/or in different sets, and accordingly, it has two common, yet distinct meanings:

  1. ordering: arranging items of the same kind, class, nature, etc. in some ordered sequence,
  2. categorizing: grouping and labeling items with similar properties together (by sorts).

In computer science, a sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numerical order andlexicographical order.

This site lists sorting algorithms, along with small-cute java applets showing visual demos of  all the mentioned algorithms along with code example.

Another site, with visual preview of various sorting algorithms, good thing is that it shows all in one place.

BONUS

Ever wondered how sorting would sound; well, there is a VIDEO for that:


Posted

in

by

Tags: