S&P ends slightly up, Nasdaq higher
U.S. May factory orders rise more than expectedEnergy shares tumble, technology shares upNEW YORK, July 5 (Reuters) - The S&P 500 ended slightly higher on Tuesday as investors kept their focus on the growth trajectory of the U.S.…