How to sort an attribute of an object using Collections
<p>Good day!</p>

<p>I have an object student with the following attributes:</p>

<pre><code>class Student
    String name
    Date birthday
</code></pre>

<p>I used arrayList to store the Student Objects
My problem is, how can I sort the StudentList by birthday using the collecitons sort?.</p>

<pre><code>List &lt;Student&gt; studentList = new ArrayList&lt;Student&gt;();
</code></pre>

<p>How can I code it?</p>

<p>Collections.sort(????);</p>

<p>Thank you</p>
