Update composer.json.
Add tests for sorting. Not finished yet.