Problem: Can't pass dict to sort function. Solution: Add the optional {dict} argument to sort(). (ZyX)