title: Sort files on timestamp till milliseconds in Linux
body: <p>I am trying to pick up files from a secondary  server via SFTP and then processing the files. The files are created on secondary server in less than 1 second and as a result all the files have same timestamp for creation.Lets suppose 4 files (1.txt , 2.txt, 3.txt and 4.txt) are created on secondary server in the same orders. However when I run  ls -ltr command on  the server , I get out put as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/Amcac.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Amcac.png" alt="enter image description here"></a></p>
  
  <p>Also when I tried to sort files based on time till milliseconds using the command ls --full-time -ltr , I got the following output:</p>
  
  <p><a href="https://i.stack.imgur.com/yyL1O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yyL1O.png" alt="enter image description here"></a></p>
  
  <p>The above output is wrong as file 1 was created before remaining files. Can somebody please help on how to get the correct sorted list  here.</p>