Finished primary logic for Laundry Sorter