A request of DirectoryContentsList


#1

It’ll be very convenient and more powerful if add this method in class DirectoryContentsList:

void sortBy (const FileInfo& info, bool ascendingOrder = true);

Or: make the private method DirectoryContentsList::addFile() protected.


#2

Supplement: make the private method DirectoryContentsList::addFile() protected is no use, since the DirectoryContentsList was designed not to derive subclass…