Update #sort_by documentation. Only should be used with attributes in the hash.

Fixes #96.