Server logic for ordering emoticons