def set_union(x, y):
    """
	Returns array that represents the sorted union
	of two input arrays
	"""
    temp = x
    for i in y:
        try:
            val = temp.index(i)
        except:
            temp.append(i)
    temp.sort()
    return temp
