getting list of mp3 files from a sdcard in the order they were added in the card
<p>hi 
i am developing an android app using an emulator.
i am using a filter class to filter mp3 songs and adding these to a list songs.</p>

<pre><code>class Mp3Filter implements FilenameFilter 
{
    public boolean accept(File dir, String name) 
    {
        return (name.endsWith(".mp3"));
    }
}
public void updateList() 
   {
       File home = new File(MEDIA_PATH);
       if (home.listFiles( new Mp3Filter()).length &gt; 0) 
       {
           for (File file : home.listFiles( new Mp3Filter())) 
           {
            songs.add(file.getName());

           }

       }        
   }
</code></pre>

<p>i want to know is there any order in which new songs gets added in sdcard like 
alphabetically or datewise because i am seeing that new songs getting added anywhere
thus each time i am adding any songs i am finding my song list rearranged.</p>

<p>is there any way to get the list of all songs form the sdcard in the order of dates&amp;time 
they were added in the card ?</p>
