Split sources into an array