def replace_positions(st_coords, end_coords):
	"""Replace the order of positions, if needed"""
	if end_coords < st_coords:  # end smaller than start
		return str(end_coords), str(st_coords)  # replace
		# return end_coords, st_coords  # replace
	return str(st_coords), str(end_coords)