# [05AB1E], 8 bytes

    œ€ü-nOtß

[Try it online!][TIO-khrfu38d]

[05AB1E]: https://github.com/Adriandmen/05AB1E
[TIO-khrfu38d]: https://tio.run/##yy9OTMpM/f//6ORHTWsO79HN8y85PP///@hoAx0gjNWB04Y6QAikTYB8o9hYAA "05AB1E – Try It Online"

**Commented**:

    œ         # take all permutations of the input
     €        # for each permutation:
       -      #   take the element-wise difference
      ü       #   between each pair of adjacent points
        n     # square each number
         O    # sum all difference-lists
          t   # take the square root of every sum
           ß  # take the minimum