Home Manual Reference Source

src/map/sorted.js

export function sorted(f, iterable) {
	return iterable.slice(0).sort(f);
}