Use sort_by instead of sort. Succinct, and faster.
Merge pull request #3 from utkarshkukreti/use-sort_by

Use sort_by instead of sort. Succinct, and faster.