title: Match words in any order in Isotope (using input value)
body: <p>I'm using Isotope.js with vanilla javascript.</p>
  <p>Inside my items, I have put a <code>div</code> with a <code>display:none</code> to hide keywords for each item. For example, the item Orange has the keywords 'color' and 'fruit'. So if someone types in any of those three words into the input form (orange, color, or fruit) that item will be shown via Isotope.</p>
  <p><a href="https://jsfiddle.net/cqhLm2bo/" rel="noreferrer">Here is a jsfiddle showing my project</a>.</p>
  <p>What I'm wanting to do, is if someone were to type all three words into the input form <strong>in any order</strong> the item will show. Right now the item will only show if the keywords are typed in order. For example, typing in &quot;fruit color&quot; will show the item Orange, but &quot;color fruit&quot; will not.</p>
  <p><strong>Edit:</strong> <a href="https://stackoverflow.com/a/34593334">This answer here</a> does exactly what I'm trying to achieve. I applied it to a jQuery version of my project and worked perfectly. However, I'm having troubling rewriting it in vanilla JS. Any help is immensely appreciated.</p>