[TASK] added sorting of file list

uses custom sort function with vector array of structures