Sort out license