I have a string list of files and a date as their names (separators can be different: “-|.”; a mask: yyyy/mm/dd):
2011-03-12.jpeg 2011|10-15.doc 2011.08-09.rar 2011.10-15.txt 2011-03-14.jpeg 2011.06.23.mp3 2011|07|01.zip 2011-07-05.rar
How can I create a Tree View with them? All files must be sorted by a month and day + allocated into month-sections like:

Big thanks for help!!!
Since you already have a
TStringListpopulated, I would simply sort it using itsCustomSort()method, and then you can loop through it adding the nodes to the tree as needed, eg: