Sorting sources.