fixed recent activity sorting for posts