Zaslať SMS: Sorting and recognition problems for ordered sets