Forests with see though leaves - alpha fills and sorting objects

A piece of a larger thing I may finish someday…
For now it can be a tutorial for this new to lua and/or programming.
This just shows 10 bushes drawn at random points.
It does contain comments (much more than my job ever gets from me) on how it works.
May have to run a few times to get good overlap.
http://pastebin.com/bPSFF544