@Override
	public Iterable<T> findAll(final Sort sort) {
		return new Iterable<T>() {
			@Override
			public Iterator<T> iterator() {
				return findAllInternal(sort, null, new HashMap<>());
			}
		};
	}
@ Override public Iterable < T > findAll ( final Sort sort ) { return new Iterable < T > ( ) { @ Override public Iterator < T > iterator ( ) { return findAllInternal ( sort , null , new HashMap < > ( ) ) ; } } ; }
Gets all documents in the collection for the class type of this repository, with the given sort applied

@param sort
the sort object to use for sorting
@return an iterable with all the documents in the collection