depth sort draw