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*.## This question appears in the following syllabi:

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

AQA A-Level (UK - Pre-2017) | D1 | Algorithms | Sorting | - |

AQA A2 Further Maths 2017 | Discrete Maths | Algorithms and Graph Theory - Extra | Sorting | - |

AQA AS/A2 Further Maths 2017 | Discrete Maths | Algorithms and Graph Theory - Extra | Sorting | - |

Edexcel A-Level (UK - Pre-2017) | D1 | Algorithms | Sorting | - |

Edexcel AS Further Maths 2017 | Decision Maths 1 | Algorithms and Graph Theory | Sorting | - |

Edexcel AS/A2 Further Maths 2017 | Decision Maths 1 | Algorithms and Graph Theory | Sorting | - |

OCR A-Level (UK - Pre-2017) | D1 | Algorithms | Sorting | - |

OCR AS Further Maths 2017 | Discrete Maths | Algorithms | Sorting | - |

OCR MEI AS Further Maths 2017 | Modelling with Algorithms | Sorting and Packing | Sorting | - |

OCR-MEI A-Level (UK - Pre-2017) | D1 | Algorithms | Sorting | - |

Universal (all site questions) | A | Algorithms | Sorting | - |