Draft --sort option to renumber features by name label sort order
Put centroid calculation in its own proc