util.funcs: re-ordering StockEncodingOrder.