Sort:  

Thanks @xtetrahedron. I did it all day long while doing other things. I suppose it must have been about three hours in total. ;)