Random lines – reverse sort

Same random line experiment as below, but sorting line by length from shortest (drawn first and thus in the background) to longest (drawn last and therefore in the front), creating a nice wreath-like form.