TODO (282B)
1 - Sort items by number of path elements, highest to lowest 2 3 This would ensure files within a directory are moved before the 4 directory is renamed. 5 6 - Detect name swaps 7 8 When detected, either raise an error or handle the situation, 9 either way: it may not be worth supporting.