added sorting articles with tags function