it doesnt matter in what order you draw the edges, and yes it would help if you could tell what exactly is the problem.