I would be nice to have some specs to check that the it handles the given sources and that priority the order is respected. Please add a note about the list being ordered by importance.