Correct sorting on latest activity. Closes #143