added tests too. fix #3
improve sorting in cachedecorator
Merge pull request #4 from novapost/3_the_kwargs_in_the_cache_should_be_sorted

Fix #3 -- Make tests run 3 times faster + Make sure kwargs are ordered to no create multiple cache keys.