sort transactions so that all dots are visiable