add sort-by command