Sorting Algos are now sorted by complexity and then alphabetical order
Grid is now a list of all the sorting algos in order
Why: (resolves #175)
This issue asked for improvement in the selection dropdown so it is easier to find the algorithms and a design change "to fit all algorithms and their names"
This new design resolves both of these issues
How:
after creating new branch called dropdown, first sorted the algorithms in algs.py (comments in the doc show how)
in display.py altered class DropdownBox(InputBox): to fit new requirements.
Testing:
visually tested list to make sure all options were available and clickable
clicking on each option chose the right sorting algo.
Changes:
Why: (resolves #175)
How:
algs.py
(comments in the doc show how)display.py
alteredclass DropdownBox(InputBox):
to fit new requirements.Testing:
Screenshots:
https://github.com/LucasPilla/Sorting-Algorithms-Visualizer/assets/124090750/b784cf74-7194-49ed-96d8-f4275dc56f1e