Preference Sort (2016)

Sort a list by preference by making simple choices

Purpose

I find it difficult to pick favorites out of a long list of items. However, it is easier to pick between two elements at a time. I decided to make a silly sorting algorithm that takes a list of strings and asks the user to compare pairs of elements until a winner emerges.


Languages / Libraries:

  • Python

Concepts:

  • Sorting by User Preference

How it works


Accomplishments:

  • Working script
  • Remembers comparisons so the user never is asked the same question twice.

Needed Improvements:

  • Reduce memory footprint
  • Improve algorithm to minimize the number of comparisons.