To sort things, you need to compare them. Can you compare Integers with Strings or Booleans ? Look at the API for Arrays#sort(Object[]). That's what they mean by "all elements in the array must be mutually comparable".
I think it's because your array is of type Object. and object doesn't implements comparable. Although the elements are all comparable, but not to each other....