support of comparator in SFTP-Adapter

I've implemented a OlderFirstComparator for the SFTP-transporter similar to the File-implementation.
Same could be probably done for FTP.
this would hurst performance since you have to make one remote call per file to sort. Can you optimize it so that when sorting is needed you already get the files with their attributes included?