As one of the important questions in the design of hydraulic manifold block — connection order of network, give a solution based on genetic algorithm. Genetic algorithm is the common effective intelligent optimal algorithm and suitable for solving a large combinatorial optimal problems. Gene encoding of ordinal representation, single-point crossover strategy and adaptive mutation strategy are used in the design of genetic manipulation.