from typing import OrderedDict


def get_ordered_dic(unordered_dic):
		"""Returns a dictionary ordered by the length of its keys

		Args:
			unordered_dic: Dictionary of stuff to order

		Returns:
			type, OrderedDict: Ordered dictionary by key-length
		"""
		return OrderedDict(sorted(unordered_dic.items(), key=lambda t: -len(t[0])))