What is needed to be done for sorting by date?
<p>I need to sort the status reports by date. Before I'm calling the addItem method the sorting should be done or I have to compare with previous report by report date. It is to be stated that the getReportDate()[ which is of type JVDate] method can be used to get the report date of a status report. Would you please help to sort the status reports:</p>

<pre><code>   public void  doImport( TRDataReader in )
        throws IOException, TRException        
   {

       in.start( getClassTag() ); // get the class tag
       // import the set's flags from a datareader
       importFlags( in ); 
       beginLoad ();
       final String restag = new TRStatusReport().getClassTag ();
       while (in.nextToken (restag))  {
             addItem (new TRStatusReport (in));
       }
       endLoad ();
       in.end (getClassTag ());
   }
</code></pre>
