UK supermarket retailer J Sainsbury has halted its long spell of declining market share, according to the latest industry data.