Fixed order of sources
Added code for determining %BDL by source