Inspiration
Silicon Valley and setting up a sorting algorithm that hypothetically will be faster than Apple's included ones
What it does
This will iterate from the middle of the array and fan out sorting all the entities in the array
How I built it
I used the basic Swift Language library and manipulated a created a custom sort class.
Challenges I ran into
The UI of the Playground will lock up on load so I had to run a background function that would generate it's own array then sort it with the MiddleOut sort
Challenges I ran into
Although the statements of the switch-case statements were similar to the now used if statements there would always be duplicated entities
What I learned
Some times if statements are better than case statements
Requirements to run
Xcode 8 or newer

Log in or sign up for Devpost to join the conversation.