sort objectives by code