isSorted() usinf recursion

my one test case is showing wrong answer
https://ide.codingblocks.com/s/55279

Test case: when all values of array are same.
Your code will show not sorted