first functional version
Merge branch 'master' of https://github.com/omiron/sortreferences