Sales rose by 3.6% in July as demand for clothing recovered and people spent more on fuel.