title: How to implement longest-queue-first rule for traffic lights in SUMO or FLOW?
body: <p>How to implement longest-queue-first rule for traffic lights in SUMO or FLOW?</p>
  
  <p>It seems SUMO only supports three kind of traffic light, which is not flexible enough.</p>