order PDF improvements
order PDF improvements for plugins