Reorder scheme detection to cascade into port detection