Which type add folder

Assign Activity:
arrFolderPaths | String Array =

(From fi In New DirectoryInfo(YourRootFolderPath).GetDirectories()
Let no = System.Text.RegularExpressions.Regex.Match(fi.Name,"\d+").Value
Order by CInt(no) DESCENDING
Select fi.FullName).toArray

Kindly note: we need the conversion to the number as otherwise, we do sort wrongly lexically
grafik