September sales gains, while modest, were better than expected as retailers head into the busy holiday season, according to a new study by the National Retail Federation.