In WooCommerce, I am trying to output a list of related products on an individual product page. I am able to retrieve an array of related products as follows:

```
<?
// Current product ID
$currentProductId = $product->get_id();
// Related products
$relatedProducts = wc_get_related_products($currentProductId);

print_r($relatedIssues);
?>

```

However, this outputs the array as follows, which appears to be a random order.

```
Array ( [0] => 28 [1] => 27 [2] => 30 [3] => 26 ) 

```

I would like to arrange this array by numerical value, from high to low, if possible?

Thanks.