title: Create a database to store list of links inside sections
body: <p>I am developing an app that needs to display lists of links, where each link can optionally be inside a section.</p>
  <p>For example:</p>
  <p><strong>&quot;List of web development videos&quot; - List title</strong></p>
  <ul>
  <li><p><strong>&quot;Back End Development&quot; -  Section title</strong></p>
  <ul>
  <li><a href="https://youtube.com/video32/ddd" rel="nofollow noreferrer">https://youtube.com/video32/ddd</a> - url1</li>
  <li><a href="https://youtube.com/video34/ddd" rel="nofollow noreferrer">https://youtube.com/video34/ddd</a> - url2</li>
  </ul>
  </li>
  <li><p><strong>&quot;Front End Development&quot; - Section 2 Title</strong></p>
  <ul>
  <li><a href="https://youtube.com/video36/ddd" rel="nofollow noreferrer">https://youtube.com/video36/ddd</a> - url3</li>
  <li><a href="https://youtube.com/video38/ddd" rel="nofollow noreferrer">https://youtube.com/video38/ddd</a> - url4</li>
  </ul>
  </li>
  </ul>
  <p>I'm working with PostgreSQL and Typeorm.</p>
  <p>I'm wondering how should I approach this in order to be able to maintain the order of the sections within the list, and the URLs within the section when fetching the data from the database.</p>
  <p>Currently, I'm thinking about creating a separate table for each entity or storing the whole thing as an HTML directly into the List table.</p>
  <p>Is there any better approach?</p>