A technical glitch at Sainsbury's online shop meant that the retailer has been unable to process tens of thousands of orders.