Newest update first.
Simple inventory sorting, now in configurable order. Forked from the original by cpw.