title: Angular, how to sort correctly the date in the string the strings?
body: <p>I have these two strings:</p>
  <pre><code>&quot;2022 | Dec (V2 2022)&quot;
  &quot;2022 | Jul (V1 2022)&quot;
  </code></pre>
  <p>And I want to sort them correctly, for now, I am using <strong>localeCompare</strong> but doesn't work properly
  As I get <em><strong>&quot;2022 | Jul (V1 2022)&quot;</strong></em>, the second and it should be the first.
  Can sb help me, please?</p>