moved sort to etc