Theory of Flow Ordering for Computer Networks