examples: using sorted for dict keys