Added manual sorting. 2/12/2014