Groupon Interview Question

Python sorting and dictionary creation.