fixed sorting issue, added logger, beginning logger refactor and merging
Merge branch 'matty' of https://github.com/CMPUT496/project into matty