* @brief oddEvenSort sorts the array using the algorithm described above. * @details * A boolean varaible(isSorted) is declared and initialised to "false". * In the while loop, the variable(isSorted) is then set to "true". * During even phase the for loop loops through the array, touching just the even indexes. * i.e arr[0], arr[2], arr[4] and so on. * While during the odd phase, the for lo