Rising prices have been hurting but higher demand for goods has been boosting retail sales, helping stocks like Dollar General (DG), Dollar Tree (DLTR), Costco Wholesale (COST) and Insight Enterprises (NSIT).