arrange dots according to its rank"
delete console log