Arrange it


CLUES
1 Total length
2. Shortest way


1.ETDNCISA
2.​TMDCEISPALE