Create a curve in a group of gems. The sort method is using the nearest one.
Gems > Curve Along Gems
Command: CurveAlongGems
Steps:
1. Select gems to use
2. Press Enter, it will create the curve.