Upgrade to PLF 4.0.4
Sort the list of templates using a List instead of a Set