Order licenses on edit sub page. closes #660