def convert_dict_into_tuple_by_order(py_dict, py_order):
	"""
		Convert dictionary object to tuple by the order
		of the elements specificed in the py_order.
	"""

	if not isinstance(py_dict, dict):
		return

	if not isinstance(py_order, list):
		return

	py_tuple = tuple(py_dict[x] for x in py_order)
	return py_tuple