US retail sales continued on an upward trajectory in December, helped by consumers spending more on clothing and general merchandise.