sort orgtypes api result by id