Update Array#sort method and Array#== method.

Hi.
I updated `sort` and `==` methods.
Now possible compare recursive arrays.