Go to content
The following illustrates the relative strengths of various sorting algorithms. Bubble sort, Insertion sort and Quick sort will be familiar to you; the others are there to illustrate how fast an algorithm can be! Click on the displays to start or reset them. The values shown at the bottom are the number of operations performed - these will change depending upon the initial random mix.

Software/Applets used on this page

The MNSort applet shows a graphical represenation of a number of sort algorithms. The applet has been written in JavaScript especially for this site by davidviner.com in order to replace an older Java-based applet that no longer runs on certain devices such as tablets or smart phones.

This applet uses HTML 5 canvas and therefore requires a fully compliant HTML 5 browser. IE9 or any recent version of Firefox or Chrome are fine - do not report errors to us if your web browser is any older than those listed here.



A set of precise instructions which, if followed, will solve a problem.

Full Glossary List

This question appears in the following syllabi:

SyllabusModuleSectionTopicExam Year
AP Calculus AB (USA)3DifferentiationSlope-
AP Calculus BC (USA)3DifferentiationSlope-
AQA A-Level (UK - Pre-2017)C1DifferentiationSlope-
AQA AS Maths 2017Pure MathsDifferentiationGradients-
AQA AS/A2 Maths 2017Pure MathsDifferentiationGradients-
CBSE XI (India)CalculusLimits and DerivativesDefinition of a derivative-
CCEA A-Level (NI)C1DifferentiationSlope-
CIE A-Level (UK)P1DifferentiationSlope-
Edexcel A-Level (UK - Pre-2017)C1DifferentiationSlope-
Edexcel AS Maths 2017Pure MathsDifferentiationGradients-
Edexcel AS/A2 Maths 2017Pure MathsDifferentiationGradients-
I.B. Higher Level6DifferentiationSlope-
I.B. Standard Level6DifferentiationSlope-
Methods (UK)M8DifferentiationSlope-
I.B. (MSSL)7DifferentiationSlope-
OCR A-Level (UK - Pre-2017)C1DifferentiationSlope-
OCR AS Maths 2017Pure MathsDifferentiation BasicsGradients-
OCR MEI AS Maths 2017Pure MathsDifferentiation BasicsGradients-
OCR-MEI A-Level (UK - Pre-2017)C2DifferentiationSlope-
Pre-U A-Level (UK)4DifferentiationSlope-
Scottish (Highers + Advanced)HM1DifferentiationSlope-
Scottish HighersM1DifferentiationSlope-
Universal (all site questions)DDifferentiationSlope-
WJEC A-Level (Wales)C1DifferentiationSlope-