sorted data by trios now