Created recipe sorter to remove duplicate code.
Merge...