Sort entries in Gallery and Microblog