title: How to sort FTPFile[] array object based on timestamp in java
body: <p>I am polling files from FTP server. I have an use case to sort the array FTPFile[] based on timestamp. I want to first modified file as first object and last modified file as last object in my FTPFile[] array object.</p>
  
  <p>Can some one please suggest me how to do in java. Thanks</p>