Split a string and preserve the delimiters.
Sort directory paths in an intuitive way.
(work in progress)
##WIP