use sorted licenses