Adding adapter generic array T using T object comparator.