deepEqual throws when keys are in different order

This will sort keys before comparing.

Fixes GH-3