Creating a simple grocery list sorter