Using a Python Dictionary as a Key (Non-nested),tuple(sorted(a.items()))