dumb solution, sorted solution and dumb+sorted togheter in same graph