A Multi-Commodity Network Flow Approach For Sequencing Refined Products In Pipeline Systems