I'm using the https://github.com/brunogaspar/cartify library to manage my Cart. Things are good, except the fact that I need to be able to sort the items contained within the array by the price key DESC
If I'm using the Cartify::cart()->contents(), here's an example of one of the items contained:
array(
    'id'      => 'sku_123ABC',
    'qty'     => 1,
    'price'   => 39.95,
    'name'    => 'T-Shirt',
    'options' => array(
        'size'  => 'L',
        'color' => 'Red'
    )
As you can see, there's a price key ... and if I can't sort on the class level, I'll have to sort these items after the fact.
 
    