unitlist strength sorting function