def sort_by_other_list(this_list, by_this_list):
	"""Sort list based on another list."""
	result_list = []
	for cx, x in sorted(zip(by_this_list, this_list)):
		result_list.append(x)
	return result_list