added comparator for List