insertion-sort graph