title: Sort arrayList in ascending and descending order
body: <p>The following method receives two array list of integers objects and a Boolean indicating the sorting order (ascending, if true; descending, if false), and returns an array list with all the elements from both arrays sorted. I know how to sort individual array list using Arrays.sort(array), but I am getting lost on how to combine the two array list. </p>
  
  <pre><code>public static ArrayList&lt;Integer&gt; getSorted(ArrayList&lt;Integer&gt; FIRST,
             ArrayList&lt;Integer&gt; SECOND, boolean ascendingly){
  </code></pre>