add sort in test