add sort sample size