The spending patterns are separating retailers into winners and losers. Walmart is emerging as one of the winners, reporting that its U.S. sales had increased 5 percent in its most recent quarter.