working stata sort on virtd