🍡 Visualize the process of sorting algorithms simply
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6b4fae1 Dec 21, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
algorithms Clean up the heapsort Dec 21, 2016
images Update README.md with animated gif Nov 3, 2016
tests Improve the testcase using random integers Nov 21, 2016
.gitignore Ignore trash file Nov 3, 2016
.travis.yml Integrate travis ci Nov 3, 2016
LICENSE.md Create LICENSE.md Nov 3, 2016
README.md Update README.md Nov 4, 2016
sorting.py Code cleanup Nov 3, 2016
utils.py Add Yellow color Nov 3, 2016



travis License: MIT

Visualize the process of sorting algorithms simply

Now it shows just each completed steps, so I'll support the code tracing for visualizing the every steps including swapping later.



  1. Clone this repository to your machine
  2. Just python3 sorting.py

Usage commands

There are very few commands.

  • create < length of list > : Create list with given length.
  • mergesort : Sort the list using mergesort algorithm.
  • heapsort : Sort the list using heapsort algorithm.

Supported Sorting Algorithms

  • MergeSort
  • HeapSort
  • QuickSort (not implementd yet)
  • BubbleSort (not implementd yet)
  • InsertionSort (not implementd yet)
  • SelectionSort (not implementd yet)


Welcome any contributions of new sorting algorithms

You should just follow the PEP8!