fixes model sales order spec
sorts detail ines on all show pages and hence also PDF output by id