Deeply compares two array elements.
Left object to compare.
Right object to compare.
1 if lhs is greater than rhs; -1 if lhs is less than rhs; 0 if lhs and rhs are equal.
Deeply compares two array elements.