Here you can visualize your own sorting algorithm

To render something on the screen use one of the functions

Use swap to swap the position of two elements on the screen
swap(index1, index2)
Use pos to render the hight/value of one element
pos(index, value)
Use color to color one element red
color(position)
Use removeColor to set the color of one element to it's default
removeColor(position)