static void syncAddToSortedList(O comparator, L l, A a) { synchronized(collectionMutex(l)) { l.add(findListInsertionPoint(comparator, l, a), a); } }