added timeago and fixed sorting