implement new sort flag into cli for Table