The tyVertexOrder modifier allows you to re-order mesh vertex IDs, based on their relative position to a scene object.
This mode only works when the vertex count between the selected object and the specified scene object are the same.
Order by proximity: vertices will be ordered (from closest to furthest) based on their distances to the specified scene object’s transform.
Display indices in viewport: when enabled, vertex IDs will be displayed in the viewport.