Fixed an issue which resulted in wrong sorting of the activity list
Refactored the qa_any_sort_and_dedupe function
Merge branch 'patch-22' of github.com:pupi1985/question2answer into pupi1985-patch-22
Merge branch 'pupi1985-patch-22' into dev