title: WooCommerce products shortcode order by sku list
body: <p>Is there a way to modify the WooCommerce Products shortcode to order by a list of product sku's?</p>
  
  <p>A search engine send a Post to the page with a list of sku's. The page should display the Products in the same order the http post is.</p>
  
  <p>Example php and mysql select (the code like this worked in my old shop system where I can use SQL syntax):</p>
  
  <pre><code>$_POST['skus'] = "51,57,34,12,111";
  $skus = $_POST['skus'];
  
  select * from products where sku in ('$skus') order by FIELD(sku,'$skus);
  </code></pre>
  
  <p>How can I do an "orderby" like the example with products shortcode from woocommerce or is there a better way to do that with woocommerce?</p>
  
  <p>Thanks for every answer.</p>