chickadee » speech-dispatcher-client » history-sort

history-sort conn order criteriaprocedure

Sort the messages in history according to the given criteria. If the second command argument is asc, sort in ascending order, if it is desc, sort in descending order. The third command argument specifies the message property to order by:

time
Time of arrival of the message.
user
User name.
client_name
Client name, excluding user name.
priority
Priority.

: message_type : Type of the message (text, sound icon, character, key), in the order specified in the Speech Server configuration or by the history-set-message-type-ordering command.

The sorting is stable -- order of all the messages that are equal in the given ordering remains the same.

The sorting is specific to the given client connection, other connections are unaffected by invocation of this command.