Updated requirements.txt
Implemented custom sort (fixes #34)