New lua primitive: sort

  The sort value is unset, which means we default to showing
 messages in "oldest -> newst" order.

  Valid settings are currently:

      sort( "asc" | "desc" );

  This updates #72.