Is there a hdfs command to list files in HDFS directory as per timestamp : <p>Is there a hdfs command to list files in HDFS directory as per timestamp, ascending or descending? By default, <code>hdfs dfs -ls</code> command gives unsorted list of files. </p>

<p>When I searched for answers what I got was a workaround i.e. <code>hdfs dfs -ls /tmp | sort -k6,7</code>. But is there any better way, inbuilt in <code>hdfs dfs</code> commandline?</p>
