Add tablesorte on select history command