Added some sort if license