Sugar advanced to an almost one-month high on speculation that demand for commodities will rise after U.S. lawmakers reached a budget deal.