add sort in Block