Minor style changes.
Doctrine repository operations change for ordering the doctrines retrieved.
Minor doctrine page improvements.