Add 'sort' command.