I'm implementing a project with JCIFS where I want to sort the array returned by the method "listFiles". The order needs to be done by date of last modification.<br><div>Arrays.Sort returns error like this:<br>
</div><div>java.lang.ClassCastException: jcifs.smb.SmbFile cannot be cast to java.lang.Comparable</div><div>Sorry for my English. Thanks.<br></div><div>Iván</div><br>