wip:  adding sort