added alt xml or cal to set channels during sort