New sorting method with Jade & Flexbox
Generally, sorting is pretty easy. So is there a way to make it even easier? We can take advantage of CSS order to sort by 3 options. Here's the kicker: we don't need to use an array or object sort, and we don't need to use .append(). Most of the work is done in the Jade template. To watch it adapt to new data, add a new "price" key in the priceAry variable.