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*.## Glossary

### algorithm

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

## This question appears in the following syllabi:

Syllabus | Module | Section | Topic | Exam Year |
---|---|---|---|---|

AP Calculus AB (USA) | 3 | Differentiation | Slope | - |

AP Calculus BC (USA) | 3 | Differentiation | Slope | - |

AQA A-Level (UK - Pre-2017) | C1 | Differentiation | Slope | - |

AQA AS Maths 2017 | Pure Maths | Differentiation | Gradients | - |

AQA AS/A2 Maths 2017 | Pure Maths | Differentiation | Gradients | - |

CBSE XI (India) | Calculus | Limits and Derivatives | Definition of a derivative | - |

CCEA A-Level (NI) | C1 | Differentiation | Slope | - |

CIE A-Level (UK) | P1 | Differentiation | Slope | - |

Edexcel A-Level (UK - Pre-2017) | C1 | Differentiation | Slope | - |

Edexcel AS Maths 2017 | Pure Maths | Differentiation | Gradients | - |

Edexcel AS/A2 Maths 2017 | Pure Maths | Differentiation | Gradients | - |

I.B. Higher Level | 6 | Differentiation | Slope | - |

I.B. Standard Level | 6 | Differentiation | Slope | - |

Methods (UK) | M8 | Differentiation | Slope | - |

I.B. (MSSL) | 7 | Differentiation | Slope | - |

OCR A-Level (UK - Pre-2017) | C1 | Differentiation | Slope | - |

OCR AS Maths 2017 | Pure Maths | Differentiation Basics | Gradients | - |

OCR MEI AS Maths 2017 | Pure Maths | Differentiation Basics | Gradients | - |

OCR-MEI A-Level (UK - Pre-2017) | C2 | Differentiation | Slope | - |

Pre-U A-Level (UK) | 4 | Differentiation | Slope | - |

Scottish (Highers + Advanced) | HM1 | Differentiation | Slope | - |

Scottish Highers | M1 | Differentiation | Slope | - |

Universal (all site questions) | D | Differentiation | Slope | - |

WJEC A-Level (Wales) | C1 | Differentiation | Slope | - |