Making hashtag and device lists sorted in front end