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 of arrival of the message.
User name.
Client name, excluding user name.

: 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.