implemented sort by extra duration
refactored tests
added one controller test
Merge pull request #120 from LightningLord/sort_by_duration

Sort by duration