Sort Array of files in ascending order

when interested on the last write time

Directory.GetFiles(“folderPath”).OrderByDescending(Function(x) New FileInfo(x).LastWriteTime).ToArray

[CheatSheet] - Filesystem APIs - News / Tutorials - UiPath Community Forum