// Sorting array by using merge sort method
 public static int[] mergeSorting(int[] array) {
   SortingArrayClass sortingArrayClass = new SortingArrayClass();
   sortingArrayClass.sort(array);
   return array;
 }
 /**
  * method sorts array using recursive sort with half division algorithm
  *
  * @param givenArray gets an array for sorting
  * @return sorted array
  */
 public static int[] recursiveSortingWithHalfDivision(int[] givenArray) {
   SortingArrayClass sortingArrayClass = new SortingArrayClass();
   sortingArrayClass.sortRecursiveHalfDivision(givenArray);
   return givenArray;
 }