removed L.sort(lasing), also fixed previous bug with 2nd threshold depending on the ordering of modes14 and 16