Sort classification branches by classification codes