I am trying to first sort (by name) the folders in a directory and then process each folder in a loop. I tried to use for loop in below 3 variants of code.
Variant 1 : Be