Smallest and fastest sorting networks for a given number of inputs

Below are the best performing sorting networks known by the author for network sizes of up to 64 inputs, in terms of two metrics:

Provided is a minimum set of networks that each can be the best choice depending on how both criteria are weighted.

If no source is mentioned, the network was generated by the SorterHunter program, which in many cases matches or outperforms pre-existing networks.

For a number of input sizes (n), the used method was able to reduce the upper bound for the minimal network size S(n) compared to the results reported by V. Valsalam & R. Miikkulainen [VM13].
This was the case for 18…23 inputs. For 24…29, 33…48 and 54…56 inputs, a reduction was achieved vs. the Batcher odd-even and Van Voorhis (4,4) merges of smaller networks.

For 25 and 26 inputs, a reduction in depth was achieved vs. the Batcher odd-even merge of smaller networks, lowering the optimal depth upper bound to 13 layers. For 34 inputs, a similar reduction in depth to 15 layers was achieved, and for 42…44 inputs a reduction to 17 layers.

For questions, remarks, or to contribute improved results please contact bert.o.dobbelaere[at]telenet[dot]be.

For a reduced version of this page, see the list of sorting networks up to 32 inputs

Summary table

Number of inputs(Size,Depth) combinationsMin. size bounds
OEIS A003075
Min. depth bounds
OEIS A067782
Comments
2(1, 1)   11Trivial
3(3, 3)   33[TAOCPv3]
4(5, 3)   53[TAOCPv3]
5(9, 5)   95[TAOCPv3]
6(12, 5)   125[TAOCPv3]
7(16, 6)   166[TAOCPv3]
8(19, 6)   196[TAOCPv3]
9(25, 7)   257[TAOCPv3], Optimal depth proven in [Par89], optimal size proven in [CCFS16]
10(29, 8)   (31, 7)   297[TAOCPv3], Optimal depth proven in [Par89], optimal size proven in [CCFS16]
11(35, 8)   358[TAOCPv3], Optimal depth proven in [BZ14], optimal size proven by [Harder19]
12(39, 9)   (40, 8)   398[TAOCPv3], Optimal depth proven in [BZ14], optimal size proven by [Harder19]
13(45, 10)   (46, 9)   43…459[TAOCPv3], Optimal depth proven in [BZ14]
14(51, 10)   (52, 9)   47…519[TAOCPv3], Optimal depth proven in [BZ14]
15(56, 10)   (57, 9)   51…569[TAOCPv3], Optimal depth proven in [BZ14]
16(60, 10)   (61, 9)   55…609[TAOCPv3], Optimal depth proven in [BZ14]
17(71, 12)   (72, 11)   (74, 10)   60…7110Size ubound: [Baddar09], depth ubound: [EM14], depth optimality: [CCEMS16]
18(77, 12)   (78, 11)   65…7710…11Size ubound: SorterHunter, depth ubound: [Baddar09]
19(85, 12)   (87, 11)   70…8510…11Size ubound: SorterHunter, depth ubound: [EM14].
20(91, 12)   (93, 11)   75…9110…11Size ubound: SorterHunter, depth ubound: [EM14].
21(99, 15)   (100, 12)   80…9910…12Size ubound: SorterHunter, depth ubound: [Baddar09]
22(106, 13)   (107, 12)   85…10610…12Size ubound: SorterHunter, depth ubound: [Baddar09]
23(114, 14)   (115, 13)   (116, 12)   90…11410…12Size ubound: SorterHunter, depth ubound: [Ehlers17]
24(120, 13)   (122, 12)   95…12010…12Size ubound: SorterHunter, depth ubound: [Ehlers17]
25(130, 15)   (131, 13)   100…13010…13Depth ubound: SorterHunter. Size ubound: SorterHunter
26(138, 15)   (139, 14)   (141, 13)   105…13810…13Depth ubound: SorterHunter. Size ubound: SorterHunter
27(147, 16)   (148, 14)   110…14710…14Depth ubound: odd-even merge. Size ubound: SorterHunter
28(155, 14)   115…15510…14Depth ubound: odd-even merge. Size ubound: SorterHunter
29(164, 15)   (166, 14)   120…16410…14Depth ubound: odd-even merge. Size ubound: SorterHunter
30(172, 14)   125…17210…14Size/depth ubounds: Batcher odd-even merge
31(180, 14)   130…18010…14Size/depth ubounds: Batcher odd-even merge
32(185, 14)   135…18510…14Size/depth ubounds: Batcher odd-even merge
33(199, 16)   (200, 15)   141…19910…15Size ubound: SorterHunter, depth ubound: Batcher odd-even merge
34(209, 17)   (210, 16)   (213, 15)   147…20910…15Size and depth ubound: SorterHunter
35(220, 17)   (221, 16)   153…22010…16Size ubound: SorterHunter, depth ubound: Batcher odd-even merge
36(227, 18)   (228, 17)   (229, 16)   159…22710…16Size ubound: SorterHunter, depth ubound: Batcher odd-even merge
37(240, 17)   (243, 16)   165…24010…16Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
38(250, 17)   (255, 16)   171…25010…16Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
39(259, 17)   (263, 16)   177…25910…16Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
40(265, 17)   (269, 16)   183…26510…16Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
41(282, 19)   (283, 18)   (288, 17)   189…28210…17Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
42(291, 18)   (294, 17)   195…29110…17Size and depth ubound: SorterHunter
43(303, 19)   (305, 17)   201…30310…17Size and depth ubound: SorterHunter
44(309, 19)   (311, 17)   207…30910…17Size and depth ubound: SorterHunter
45(324, 19)   (325, 18)   213…32410…18Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
46(332, 19)   (333, 18)   219…33210…18Size ubound: SorterHunter, depth ubound: Batcher odd-even merge.
47(340, 19)   (341, 18)   225…34010…18Size ubound: SorterHunter, depth ubound: Batcher odd-even merge.
48(346, 19)   (347, 18)   231…34610…18Size ubound: SorterHunter, depth ubound: Batcher odd-even merge.
49(365, 21)   (370, 20)   (371, 19)   237…36510…19Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge.
50(376, 21)   (379, 20)   (381, 19)   243…37610…19Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge.
51(387, 22)   (389, 20)   (396, 19)   249…38710…19Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge.
52(395, 20)   (407, 19)   255…39510…19Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge.
53(411, 22)   (412, 21)   (415, 20)   261…41111…20Size/depth ubound: Van Voorhis (4,4) merge. Depth lbound: max 26 pairs per layer, size lbound wouldn't fit in 10 layers.
54(421, 20)   267…42111…20Size ubound: SorterHunter, depth ubound: Batcher odd-even merge.
55(432, 20)   273…43211…20Size ubound: SorterHunter, depth ubound: Batcher odd-even merge.
56(438, 20)   279…43811…20Size ubound: SorterHunter, depth ubound: Van Voorhis (4,4) merge.
57(454, 21)   (461, 20)   285…45411…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
58(465, 21)   (471, 20)   291…46511…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
59(476, 21)   (480, 20)   297…47611…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
60(483, 21)   (489, 20)   303…48311…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
61(497, 22)   (498, 21)   (502, 20)   309…49711…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
62(506, 21)   (511, 20)   315…50611…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
63(515, 21)   (519, 20)   321…51511…20Size ubound: Van Voorhis (4,4) merge, depth ubound: Batcher odd-even merge
64(521, 21)   (525, 20)   327…52111…20Size ubound: [VVoorh71b]. See same reference for input counts of larger powers of 2. Depth ubound: Batcher odd-even merge

Individual networks:

Sorting network for 2 inputs, 1 CE, 1 layer:

[(0,1)]

Trivial sorting network for two inputs. The only simpler "network" is the one for one input, which uses no CE at all and is represented by a horizontal line.
Auto generated
Sorting network for 3 inputs, 3 CEs, 3 layers:

[(0,2)]
[(0,1)]
[(1,2)]

Auto generated
Sorting network for 4 inputs, 5 CEs, 3 layers:

[(0,2),(1,3)]
[(0,1),(2,3)]
[(1,2)]

Auto generated
Sorting network for 5 inputs, 9 CEs, 5 layers:

[(0,3),(1,4)]
[(0,2),(1,3)]
[(0,1),(2,4)]
[(1,2),(3,4)]
[(2,3)]

Auto generated
Sorting network for 6 inputs, 12 CEs, 5 layers:

[(0,5),(1,3),(2,4)]
[(1,2),(3,4)]
[(0,3),(2,5)]
[(0,1),(2,3),(4,5)]
[(1,2),(3,4)]

Auto generated
Sorting network for 7 inputs, 16 CEs, 6 layers:

[(0,6),(2,3),(4,5)]
[(0,2),(1,4),(3,6)]
[(0,1),(2,5),(3,4)]
[(1,2),(4,6)]
[(2,3),(4,5)]
[(1,2),(3,4),(5,6)]

Auto generated
Sorting network for 8 inputs, 19 CEs, 6 layers:

[(0,2),(1,3),(4,6),(5,7)]
[(0,4),(1,5),(2,6),(3,7)]
[(0,1),(2,3),(4,5),(6,7)]
[(2,4),(3,5)]
[(1,4),(3,6)]
[(1,2),(3,4),(5,6)]

Auto generated
Sorting network for 9 inputs, 25 CEs, 7 layers:

[(0,3),(1,7),(2,5),(4,8)]
[(0,7),(2,4),(3,8),(5,6)]
[(0,2),(1,3),(4,5),(7,8)]
[(1,4),(3,6),(5,7)]
[(0,1),(2,4),(3,5),(6,8)]
[(2,3),(4,5),(6,7)]
[(1,2),(3,4),(5,6)]

Auto generated
Sorting network for 10 inputs, 29 CEs, 8 layers:

[(0,8),(1,9),(2,7),(3,5),(4,6)]
[(0,2),(1,4),(5,8),(7,9)]
[(0,3),(2,4),(5,7),(6,9)]
[(0,1),(3,6),(8,9)]
[(1,5),(2,3),(4,8),(6,7)]
[(1,2),(3,5),(4,6),(7,8)]
[(2,3),(4,5),(6,7)]
[(3,4),(5,6)]

Auto generated
Sorting network for 10 inputs, 31 CEs, 7 layers:

[(0,1),(2,5),(3,6),(4,7),(8,9)]
[(0,6),(1,8),(2,4),(3,9),(5,7)]
[(0,2),(1,3),(4,5),(6,8),(7,9)]
[(0,1),(2,7),(3,5),(4,6),(8,9)]
[(1,2),(3,4),(5,6),(7,8)]
[(1,3),(2,4),(5,7),(6,8)]
[(2,3),(4,5),(6,7)]

31 is the optimal size for 7 layers [Fon18]
Auto generated
Sorting network for 11 inputs, 35 CEs, 8 layers:

[(0,9),(1,6),(2,4),(3,7),(5,8)]
[(0,1),(3,5),(4,10),(6,9),(7,8)]
[(1,3),(2,5),(4,7),(8,10)]
[(0,4),(1,2),(3,7),(5,9),(6,8)]
[(0,1),(2,6),(4,5),(7,8),(9,10)]
[(2,4),(3,6),(5,7),(8,9)]
[(1,2),(3,4),(5,6),(7,8)]
[(2,3),(4,5),(6,7)]

35 is the optimal size [Harder19] (see also [Fon18] for 8 or 9 layers).
Auto generated
Sorting network for 12 inputs, 39 CEs, 9 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11)]
[(0,2),(1,6),(5,10),(9,11)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10)]
[(1,4),(3,5),(6,8),(7,10)]
[(1,3),(2,5),(6,9),(8,10)]
[(2,3),(4,5),(6,7),(8,9)]
[(4,6),(5,7)]
[(3,4),(5,6),(7,8)]

39 is the optimal size [Harder19] (see also [Fon18] for 9 layers).
Auto generated
Sorting network for 12 inputs, 40 CEs, 8 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9)]
[(0,2),(1,4),(3,5),(6,8),(7,10),(9,11)]
[(0,1),(2,9),(4,7),(5,6),(10,11)]
[(1,3),(2,7),(4,9),(8,10)]
[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11)]
[(1,2),(3,5),(6,8),(9,10)]
[(2,4),(3,6),(5,8),(7,9)]
[(1,2),(3,4),(5,6),(7,8),(9,10)]

40 is the optimal size for 8 layers [Fon18].
Auto generated
Sorting network for 13 inputs, 45 CEs, 10 layers:

[(0,12),(1,10),(2,9),(3,7),(5,11),(6,8)]
[(1,6),(2,3),(4,11),(7,9),(8,10)]
[(0,4),(1,2),(3,6),(7,8),(9,10),(11,12)]
[(4,6),(5,9),(8,11),(10,12)]
[(0,5),(3,8),(4,7),(6,11),(9,10)]
[(0,1),(2,5),(6,9),(7,8),(10,11)]
[(1,3),(2,4),(5,6),(9,10)]
[(1,2),(3,4),(5,7),(6,8)]
[(2,3),(4,5),(6,7),(8,9)]
[(3,4),(5,6)]

Auto generated
Sorting network for 13 inputs, 46 CEs, 9 layers:

[(0,11),(1,7),(2,4),(3,5),(8,9),(10,12)]
[(0,2),(3,6),(4,12),(5,7),(8,10)]
[(0,8),(1,3),(2,5),(4,9),(6,11),(7,12)]
[(0,1),(2,10),(3,8),(4,6),(9,11)]
[(1,3),(2,4),(5,10),(6,8),(7,9),(11,12)]
[(1,2),(3,4),(5,8),(6,9),(7,10)]
[(2,3),(4,7),(5,6),(8,11),(9,10)]
[(4,5),(6,7),(8,9),(10,11)]
[(3,4),(5,6),(7,8),(9,10)]

Auto generated
Sorting network for 14 inputs, 51 CEs, 10 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13)]
[(0,2),(1,3),(4,8),(5,9),(10,12),(11,13)]
[(0,4),(1,2),(3,7),(5,8),(6,10),(9,13),(11,12)]
[(0,6),(1,5),(3,9),(4,10),(7,13),(8,12)]
[(2,10),(3,11),(4,6),(7,9)]
[(1,3),(2,8),(5,11),(6,7),(10,12)]
[(1,4),(2,6),(3,5),(7,11),(8,10),(9,12)]
[(2,4),(3,6),(5,8),(7,10),(9,11)]
[(3,4),(5,6),(7,8),(9,10)]
[(6,7)]

Front-concentrated, only single element in last layer
Auto generated
Sorting network for 14 inputs, 52 CEs, 9 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13)]
[(0,2),(1,3),(4,8),(5,9),(10,12),(11,13)]
[(0,10),(1,6),(2,11),(3,13),(5,8),(7,12)]
[(1,4),(2,8),(3,6),(5,11),(7,10),(9,12)]
[(0,1),(3,9),(4,10),(5,7),(6,8),(12,13)]
[(1,5),(2,4),(3,7),(6,10),(8,12),(9,11)]
[(1,2),(3,5),(4,6),(7,9),(8,10),(11,12)]
[(2,3),(4,5),(6,7),(8,9),(10,11)]
[(3,4),(5,6),(7,8),(9,10)]

Symmetric variant replacing asymmetric predecessor, was surprisingly hard to find using SorterHunter.
Auto generated
Sorting network for 15 inputs, 56 CEs, 10 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13)]
[(1,2),(3,5),(8,10),(11,12)]
[(3,4),(5,6),(7,8),(9,10)]
[(2,3),(4,5),(6,7),(8,9),(10,11)]
[(5,6),(7,8)]

Auto generated
Sorting network for 15 inputs, 57 CEs, 9 layers:

[(0,6),(1,10),(2,14),(3,9),(4,12),(5,13),(7,11)]
[(0,7),(2,5),(3,4),(6,11),(8,10),(9,12),(13,14)]
[(1,13),(2,3),(4,6),(5,9),(7,8),(10,14),(11,12)]
[(0,3),(1,4),(5,7),(6,13),(8,9),(10,11),(12,14)]
[(0,2),(1,5),(3,8),(4,6),(7,10),(9,11),(12,13)]
[(0,1),(2,5),(3,10),(4,8),(6,7),(9,12),(11,13)]
[(1,2),(3,4),(5,6),(7,9),(8,10),(11,12)]
[(3,5),(4,6),(7,8),(9,10)]
[(2,3),(4,5),(6,7),(8,9),(10,11)]

Auto generated
Sorting network for 16 inputs, 60 CEs, 10 layers:

[(0,13),(1,12),(2,15),(3,14),(4,8),(5,6),(7,11),(9,10)]
[(0,5),(1,7),(2,9),(3,4),(6,13),(8,14),(10,15),(11,12)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,14),(13,15)]
[(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14)]
[(1,4),(2,6),(5,8),(7,10),(9,13),(11,14)]
[(2,4),(3,6),(9,12),(11,13)]
[(3,5),(6,8),(7,9),(10,12)]
[(3,4),(5,6),(7,8),(9,10),(11,12)]
[(6,7),(8,9)]

Size and depth match the handcrafted network of M.W. Green, 1969 [TAOCPv3]. It is remarkable that the last three layers (found by independent computer search) are identical to those in Green's network.
Auto generated
Sorting network for 16 inputs, 61 CEs, 9 layers:

[(0,5),(1,4),(2,12),(3,13),(6,7),(8,9),(10,15),(11,14)]
[(0,2),(1,10),(3,6),(4,7),(5,14),(8,11),(9,12),(13,15)]
[(0,8),(1,3),(2,11),(4,13),(5,9),(6,10),(7,15),(12,14)]
[(0,1),(2,4),(3,8),(5,6),(7,12),(9,10),(11,13),(14,15)]
[(1,3),(2,5),(4,8),(6,9),(7,11),(10,13),(12,14)]
[(1,2),(3,5),(4,11),(6,8),(7,9),(10,12),(13,14)]
[(2,3),(4,5),(6,7),(8,9),(10,11),(12,13)]
[(4,6),(5,7),(8,10),(9,11)]
[(3,4),(5,6),(7,8),(9,10),(11,12)]

Auto generated
Sorting network for 17 inputs, 71 CEs, 12 layers:

[(0,11),(1,15),(2,10),(3,5),(4,6),(8,12),(9,16),(13,14)]
[(0,6),(1,13),(2,8),(4,14),(5,15),(7,11)]
[(0,8),(3,7),(4,9),(6,16),(10,11),(12,14)]
[(0,2),(1,4),(5,6),(7,13),(8,9),(10,12),(11,14),(15,16)]
[(0,3),(2,5),(6,11),(7,10),(9,13),(12,15),(14,16)]
[(0,1),(3,4),(5,10),(6,9),(7,8),(11,15),(13,14)]
[(1,2),(3,7),(4,8),(6,12),(11,13),(14,15)]
[(1,3),(2,7),(4,5),(9,11),(10,12),(13,14)]
[(2,3),(4,6),(5,7),(8,10)]
[(3,4),(6,8),(7,9),(10,12)]
[(5,6),(7,8),(9,10),(11,12)]
[(4,5),(6,7),(8,9),(10,11),(12,13)]

Size matches result from Valsalam & Miikkulainen [VM13]. Depth reduced from 17 to 12.
Auto generated
Sorting network for 17 inputs, 72 CEs, 11 layers:

[(0,8),(1,3),(2,6),(4,15),(5,13),(9,16),(10,11),(12,14)]
[(0,2),(1,4),(3,15),(5,8),(6,14),(7,9),(13,16)]
[(2,13),(3,11),(5,10),(6,9),(7,12),(8,15),(14,16)]
[(0,7),(1,5),(3,6),(4,10),(8,14),(9,11),(12,13),(15,16)]
[(0,1),(2,6),(4,12),(5,7),(9,14),(10,13),(11,15)]
[(1,4),(2,3),(6,11),(7,12),(8,9),(13,14),(15,16)]
[(2,5),(3,8),(7,10),(9,12),(11,13),(14,15)]
[(1,2),(3,7),(4,5),(6,9),(8,10),(13,14)]
[(3,4),(5,7),(6,8),(9,11),(10,12)]
[(2,4),(5,6),(7,8),(9,10),(11,12)]
[(2,3),(4,5),(6,7),(8,9),(10,11),(12,13)]

Auto generated
Sorting network for 17 inputs, 74 CEs, 10 layers:

[(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]
[(1,3),(2,4),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16)]
[(1,5),(2,6),(3,7),(4,8),(9,13),(10,14),(11,15),(12,16)]
[(0,3),(1,13),(2,10),(4,7),(5,11),(6,12),(8,9),(14,15)]
[(0,13),(1,8),(2,5),(3,6),(4,14),(7,15),(9,16),(10,11)]
[(0,1),(2,8),(3,4),(5,10),(6,13),(7,11),(12,14)]
[(1,5),(3,8),(4,10),(6,7),(9,12),(11,13)]
[(1,2),(4,6),(5,8),(7,10),(9,11),(12,14),(13,15)]
[(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]

This network was obtained by performing a size optimization of the network found by Ehlers&Müller (see [EM14])
Auto generated
Sorting network for 18 inputs, 77 CEs, 12 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17)]
[(0,2),(1,3),(4,12),(5,13),(6,8),(9,11),(14,16),(15,17)]
[(0,14),(1,16),(2,15),(3,17)]
[(0,6),(1,10),(2,9),(7,16),(8,15),(11,17)]
[(1,4),(3,9),(5,7),(8,14),(10,12),(13,16)]
[(0,1),(2,5),(3,13),(4,14),(7,9),(8,10),(12,15),(16,17)]
[(1,2),(3,5),(4,6),(11,13),(12,14),(15,16)]
[(4,8),(5,12),(6,10),(7,11),(9,13)]
[(1,4),(2,8),(3,6),(5,7),(9,15),(10,12),(11,14),(13,16)]
[(2,4),(5,8),(6,10),(7,11),(9,12),(13,15)]
[(3,5),(6,8),(7,10),(9,11),(12,14)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14)]

Improved size over result (78) reported in [VM13].
Auto generated
Sorting network for 18 inputs, 78 CEs, 11 layers:

[(0,6),(1,10),(2,15),(3,5),(4,9),(7,16),(8,13),(11,17),(12,14)]
[(0,12),(1,4),(3,11),(5,17),(6,14),(7,8),(9,10),(13,16)]
[(1,13),(2,7),(4,16),(6,9),(8,11),(10,15)]
[(0,1),(2,3),(4,12),(5,13),(7,9),(8,10),(14,15),(16,17)]
[(0,2),(1,11),(3,4),(5,7),(6,16),(10,12),(13,14),(15,17)]
[(1,8),(4,10),(5,6),(7,13),(9,16),(11,12)]
[(1,3),(2,5),(4,7),(6,8),(9,11),(10,13),(12,15),(14,16)]
[(1,2),(3,5),(4,6),(7,9),(8,10),(11,13),(12,14),(15,16)]
[(2,3),(5,8),(6,7),(9,12),(10,11),(14,15)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14)]
[(4,5),(6,7),(8,9),(10,11),(12,13)]

Matches depth of 11 layers reported in [Baddar09] while reducing size from 84 to 78.
Auto generated
Sorting network for 19 inputs, 85 CEs, 12 layers:

[(0,12),(1,4),(2,8),(3,5),(6,17),(7,11),(9,14),(10,13),(15,16)]
[(0,2),(1,7),(3,6),(4,11),(5,17),(8,12),(10,15),(13,16),(14,18)]
[(3,10),(4,14),(5,15),(6,13),(7,9),(11,17),(16,18)]
[(0,7),(1,10),(4,6),(9,15),(11,16),(12,17),(13,14)]
[(0,3),(2,6),(5,7),(8,11),(12,16)]
[(1,8),(2,9),(3,4),(6,15),(7,13),(10,11),(12,18)]
[(1,3),(2,5),(6,9),(7,12),(8,10),(11,14),(17,18)]
[(0,1),(2,3),(4,8),(6,10),(9,12),(14,15),(16,17)]
[(1,2),(5,8),(6,7),(9,11),(10,13),(14,16),(15,17)]
[(3,6),(4,5),(7,9),(8,10),(11,12),(13,14),(15,16)]
[(3,4),(5,6),(7,8),(9,10),(11,13),(12,14)]
[(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15)]

Improved size over result (86) reported by Valsalam & Miikkulainen [VM13]
Auto generated
Sorting network for 19 inputs, 87 CEs, 11 layers:

[(0,1),(2,3),(4,5),(6,7),(8,10),(11,12),(13,14),(15,16),(17,18)]
[(0,2),(1,3),(4,6),(5,7),(8,9),(11,13),(12,14),(15,17),(16,18)]
[(0,4),(1,5),(2,6),(3,7),(9,10),(11,15),(12,16),(13,17),(14,18)]
[(0,11),(1,8),(2,13),(3,17),(4,10),(5,6),(9,16),(12,15)]
[(1,2),(3,13),(4,12),(5,14),(6,16),(7,10),(8,15)]
[(0,1),(2,11),(3,9),(5,12),(6,15),(7,13),(10,18),(14,17)]
[(1,4),(3,8),(5,11),(6,9),(7,12),(10,13),(14,15),(16,17)]
[(2,4),(3,5),(6,7),(8,11),(9,12),(10,14),(13,15)]
[(2,3),(4,5),(6,8),(7,9),(10,11),(12,14),(13,16),(15,17)]
[(1,2),(4,6),(5,8),(7,10),(9,11),(12,13),(14,16)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]

Auto generated
Sorting network for 20 inputs, 91 CEs, 12 layers:

[(0,3),(1,7),(2,5),(4,8),(6,9),(10,13),(11,15),(12,18),(14,17),(16,19)]
[(0,14),(1,11),(2,16),(3,17),(4,12),(5,19),(6,10),(7,15),(8,18),(9,13)]
[(0,4),(1,2),(3,8),(5,7),(11,16),(12,14),(15,19),(17,18)]
[(1,6),(2,12),(3,5),(4,11),(7,17),(8,15),(13,18),(14,16)]
[(0,1),(2,6),(7,10),(9,12),(13,17),(18,19)]
[(1,6),(5,9),(7,11),(8,12),(10,14),(13,18)]
[(3,5),(4,7),(8,10),(9,11),(12,15),(14,16)]
[(1,3),(2,4),(5,7),(6,10),(9,13),(12,14),(15,17),(16,18)]
[(1,2),(3,4),(6,7),(8,9),(10,11),(12,13),(15,16),(17,18)]
[(2,3),(4,6),(5,8),(7,9),(10,12),(11,14),(13,15),(16,17)]
[(4,5),(6,8),(7,10),(9,12),(11,13),(14,15)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]

Improved size over result (92) reported by Valsalam & Miikkulainen [VM13]
Auto generated
Sorting network for 20 inputs, 93 CEs, 11 layers:

[(0,12),(1,13),(2,14),(3,15),(4,16),(5,17),(6,18),(7,19),(8,10),(9,11)]
[(0,2),(1,3),(4,6),(5,7),(8,9),(10,11),(12,14),(13,15),(16,18),(17,19)]
[(0,1),(2,3),(4,5),(6,7),(12,13),(14,15),(16,17),(18,19)]
[(0,4),(1,12),(2,16),(3,17),(5,8),(6,9),(7,18),(10,13),(11,14),(15,19)]
[(1,6),(3,10),(4,5),(7,11),(8,12),(9,16),(13,18),(14,15)]
[(0,4),(2,8),(3,9),(6,7),(10,16),(11,17),(12,13),(15,19)]
[(1,4),(3,6),(5,8),(7,10),(9,12),(11,14),(13,16),(15,18)]
[(2,3),(4,5),(6,8),(7,9),(10,12),(11,13),(14,15),(16,17)]
[(2,4),(3,6),(5,7),(8,10),(9,11),(12,14),(13,16),(15,17)]
[(1,2),(3,5),(6,7),(8,9),(10,11),(12,13),(14,16),(17,18)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]

First 3 layers inspired by [EM14]
Auto generated
Sorting network for 21 inputs, 99 CEs, 15 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15)]
[(0,4),(1,5),(3,7),(6,20),(8,12),(9,13),(10,14),(15,19)]
[(2,6),(3,18),(7,20)]
[(2,16),(3,6),(5,18),(7,17),(11,20)]
[(0,2),(3,8),(6,12),(7,10),(9,16),(11,15),(13,17),(14,18),(19,20)]
[(1,7),(2,3),(4,9),(10,11),(13,16),(15,18),(17,19)]
[(1,4),(5,10),(6,13),(7,8),(11,14),(12,16),(15,17),(18,19)]
[(1,2),(3,4),(5,6),(10,12),(11,13),(14,16),(17,18)]
[(2,3),(4,5),(6,9),(10,11),(12,13),(14,15),(16,17)]
[(6,7),(8,9),(15,16)]
[(4,6),(7,8),(9,12),(13,15)]
[(3,4),(5,7),(8,10),(9,11),(12,14)]
[(5,6),(7,8),(9,10),(11,12),(13,14)]

Improved size over result (102) reported by Valsalam & Miikkulainen [VM13], breaking 100 element barrier.
Auto generated
Sorting network for 21 inputs, 100 CEs, 12 layers:

[(0,7),(1,10),(3,5),(4,8),(6,13),(9,19),(11,14),(12,17),(15,16),(18,20)]
[(0,11),(1,15),(2,12),(3,4),(5,8),(6,9),(7,14),(10,16),(13,19),(17,20)]
[(0,6),(1,3),(2,18),(4,15),(5,10),(8,16),(11,17),(12,13),(14,20)]
[(2,6),(5,12),(7,18),(8,14),(9,11),(10,17),(13,19),(16,20)]
[(1,2),(4,7),(5,9),(6,17),(10,13),(11,12),(14,19),(15,18)]
[(0,2),(3,6),(4,5),(7,10),(8,11),(9,15),(12,16),(13,18),(14,17),(19,20)]
[(0,1),(2,3),(5,9),(6,12),(7,8),(11,14),(13,15),(16,19),(17,18)]
[(1,2),(3,9),(6,13),(10,11),(12,15),(16,17),(18,19)]
[(1,4),(2,5),(3,7),(6,10),(8,9),(11,12),(13,14),(17,18)]
[(2,4),(5,6),(7,8),(9,11),(10,13),(12,15),(14,16)]
[(3,4),(5,7),(6,8),(9,10),(11,13),(12,14),(15,16)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17)]

Auto generated
Sorting network for 22 inputs, 106 CEs, 13 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]
[(0,2),(1,3),(4,6),(5,7),(8,12),(9,13),(14,16),(15,17),(18,20),(19,21)]
[(0,4),(1,5),(2,6),(3,7),(8,10),(9,12),(11,13),(14,18),(15,19),(16,20),(17,21)]
[(0,14),(1,15),(2,18),(3,19),(4,16),(5,17),(6,20),(7,21),(9,11),(10,12)]
[(2,8),(3,11),(6,9),(10,18),(12,15),(13,19)]
[(0,2),(1,10),(3,16),(5,18),(6,14),(7,15),(8,12),(9,13),(11,20),(19,21)]
[(2,6),(3,10),(4,8),(5,12),(9,16),(11,18),(13,17),(15,19)]
[(1,4),(7,13),(8,14),(9,12),(17,20)]
[(1,2),(3,8),(4,6),(7,11),(10,14),(13,18),(15,17),(19,20)]
[(2,4),(5,10),(7,9),(11,16),(12,14),(17,19)]
[(5,6),(7,8),(9,11),(10,12),(13,14),(15,16)]
[(3,5),(6,7),(8,10),(9,12),(11,13),(14,15),(16,18)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18)]

Improved size over result (108) from Valsalam & Miikkulainen [VM13].
Auto generated
Sorting network for 22 inputs, 107 CEs, 12 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(11,13),(14,16),(15,17),(18,20),(19,21)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(14,18),(15,19),(16,20),(17,21)]
[(0,14),(1,15),(2,18),(3,19),(4,16),(5,17),(6,20),(7,21),(9,11),(10,12)]
[(0,8),(2,10),(4,14),(5,12),(6,15),(7,17),(9,16),(11,19),(13,21)]
[(1,9),(2,4),(3,16),(5,18),(6,10),(7,13),(8,14),(11,15),(12,20),(17,19)]
[(1,8),(3,11),(4,5),(7,12),(9,14),(10,18),(13,20),(16,17)]
[(1,2),(3,5),(4,8),(6,9),(7,11),(10,14),(12,15),(13,17),(16,18),(19,20)]
[(2,4),(3,6),(5,9),(7,10),(11,14),(12,16),(15,18),(17,19)]
[(3,4),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,18)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17)]

Auto generated
Sorting network for 23 inputs, 114 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(21,22)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(17,21),(18,20),(19,22)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15)]
[(1,2),(5,18),(7,19),(9,16),(10,21),(12,20),(15,22)]
[(5,9),(6,7),(10,18),(11,21),(12,17),(13,20),(14,15)]
[(3,17),(6,16),(7,14),(8,12),(15,19),(20,21)]
[(3,4),(5,8),(6,10),(9,12),(13,16),(14,15),(17,18),(19,21)]
[(0,5),(1,8),(2,12),(3,9),(4,10),(7,13),(11,17),(14,16),(18,20)]
[(2,6),(3,5),(4,8),(7,11),(10,12),(13,18),(14,17),(15,20)]
[(1,3),(2,5),(6,9),(7,10),(11,13),(12,14),(15,18),(16,17),(19,20)]
[(2,3),(4,6),(8,9),(11,12),(13,14),(15,16),(17,19)]
[(3,4),(5,6),(7,8),(9,10),(12,13),(14,15),(17,18)]
[(4,5),(6,7),(8,9),(10,11),(16,17)]

Reduction in size vs. 118 reported in [Baddar09]
Auto generated
Sorting network for 23 inputs, 115 CEs, 13 layers:

[(0,20),(1,12),(2,16),(4,6),(5,10),(7,21),(8,14),(9,15),(11,22),(13,18),(17,19)]
[(0,3),(1,11),(2,7),(4,17),(5,13),(6,19),(8,9),(10,18),(12,22),(14,15),(16,21)]
[(0,1),(2,4),(3,12),(5,8),(6,9),(7,10),(11,20),(13,16),(14,17),(15,18),(19,21)]
[(2,5),(4,8),(6,11),(7,14),(9,16),(12,17),(15,19),(18,21)]
[(1,8),(3,14),(4,7),(9,20),(10,12),(11,13),(15,22),(16,19)]
[(0,7),(1,5),(3,4),(6,11),(8,15),(9,14),(10,13),(12,17),(18,22),(19,20)]
[(0,2),(1,6),(4,7),(5,9),(8,10),(13,15),(14,18),(16,19),(17,22),(20,21)]
[(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,16),(15,17),(18,19),(21,22)]
[(1,2),(3,6),(4,10),(7,8),(9,11),(12,14),(13,19),(15,16),(17,20)]
[(2,3),(5,10),(6,7),(8,9),(13,18),(14,15),(16,17),(20,21)]
[(3,4),(5,7),(10,12),(11,13),(16,18),(19,20)]
[(4,6),(8,10),(9,12),(11,14),(13,15),(17,19)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18)]

Obtained by removing highest input from 24 inputs case with 13 layers.
Auto generated
Sorting network for 23 inputs, 116 CEs, 12 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(17,19),(18,20),(21,22)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,21),(17,22)]
[(1,10),(2,9),(3,11),(6,19),(12,17),(14,22),(16,18),(20,21)]
[(0,16),(1,2),(3,21),(4,17),(5,14),(6,13),(7,22),(9,18),(10,20),(15,19)]
[(1,10),(2,9),(3,17),(4,12),(5,18),(6,20),(7,15),(8,16),(11,14),(13,21),(19,22)]
[(0,8),(1,4),(2,10),(3,9),(5,6),(11,21),(12,16),(13,20),(14,15),(17,18)]
[(2,8),(3,5),(4,12),(6,9),(7,11),(10,16),(13,17),(15,21),(18,20)]
[(1,2),(4,8),(5,10),(6,12),(7,13),(9,16),(11,18),(14,17),(15,19)]
[(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,20),(17,18),(19,21)]
[(3,6),(5,8),(7,10),(9,12),(11,14),(13,16),(15,17),(18,20)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20)]

Auto generated
Sorting network for 24 inputs, 120 CEs, 13 layers:

[(0,20),(1,12),(2,16),(3,23),(4,6),(5,10),(7,21),(8,14),(9,15),(11,22),(13,18),(17,19)]
[(0,3),(1,11),(2,7),(4,17),(5,13),(6,19),(8,9),(10,18),(12,22),(14,15),(16,21),(20,23)]
[(0,1),(2,4),(3,12),(5,8),(6,9),(7,10),(11,20),(13,16),(14,17),(15,18),(19,21),(22,23)]
[(2,5),(4,8),(6,11),(7,14),(9,16),(12,17),(15,19),(18,21)]
[(1,8),(3,14),(4,7),(9,20),(10,12),(11,13),(15,22),(16,19)]
[(0,7),(1,5),(3,4),(6,11),(8,15),(9,14),(10,13),(12,17),(16,23),(18,22),(19,20)]
[(0,2),(1,6),(4,7),(5,9),(8,10),(13,15),(14,18),(16,19),(17,22),(21,23)]
[(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,16),(15,17),(18,19),(20,21)]
[(1,2),(3,6),(4,10),(7,8),(9,11),(12,14),(13,19),(15,16),(17,20),(21,22)]
[(2,3),(5,10),(6,7),(8,9),(13,18),(14,15),(16,17),(20,21)]
[(3,4),(5,7),(10,12),(11,13),(16,18),(19,20)]
[(4,6),(8,10),(9,12),(11,14),(13,15),(17,19)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18)]

Reduction in size vs. 123 reported in [Baddar09]
Auto generated
Sorting network for 24 inputs, 122 CEs, 12 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23)]
[(0,16),(1,18),(2,17),(3,19),(4,20),(5,22),(6,21),(7,23),(9,10),(13,14)]
[(2,10),(3,11),(5,18),(6,14),(7,15),(8,16),(9,17),(12,20),(13,21)]
[(0,8),(1,9),(2,12),(3,20),(4,16),(5,13),(6,17),(7,19),(10,18),(11,21),(14,22),(15,23)]
[(1,8),(3,16),(4,12),(5,10),(6,9),(7,20),(11,19),(13,18),(14,17),(15,22)]
[(2,4),(3,5),(7,13),(9,12),(10,16),(11,14),(18,20),(19,21)]
[(1,2),(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(21,22)]
[(2,4),(3,8),(5,6),(7,9),(10,12),(11,13),(14,16),(15,20),(17,18),(19,21)]
[(3,5),(6,8),(7,10),(9,12),(11,14),(13,16),(15,17),(18,20)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20)]

Auto generated
Sorting network for 25 inputs, 130 CEs, 15 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(21,22),(23,24)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(18,21),(20,23),(22,24)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,20),(17,22),(19,24),(21,23)]
[(1,18),(3,21),(5,23),(6,19),(11,14),(15,24)]
[(1,16),(3,17),(6,9),(7,11),(13,19),(14,23)]
[(0,1),(2,16),(3,8),(7,20),(10,13),(11,22),(15,23)]
[(1,2),(5,10),(7,18),(11,21),(15,20),(19,22)]
[(4,7),(5,6),(9,18),(10,17),(11,12),(13,21),(14,15),(19,20),(22,23)]
[(3,4),(7,8),(9,10),(11,16),(12,17),(13,18),(19,21),(20,22)]
[(1,3),(2,4),(5,11),(6,16),(7,9),(8,10),(12,13),(14,19),(15,18)]
[(2,3),(5,7),(6,9),(8,11),(10,16),(12,14),(15,17)]
[(3,5),(4,6),(7,8),(9,11),(10,12),(13,14),(15,16),(17,18)]
[(4,7),(6,8),(9,10),(11,12),(13,15),(14,16),(17,19),(18,21)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]

Improved size vs. Batcher odd-even merge.
Auto generated
Sorting network for 25 inputs, 131 CEs, 13 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,24)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(21,22),(23,24)]
[(0,8),(1,12),(2,10),(3,14),(4,9),(5,13),(6,11),(7,15),(17,22),(18,21),(19,24)]
[(1,18),(3,9),(5,17),(6,20),(7,13),(11,14),(12,22),(15,24),(21,23)]
[(1,16),(3,12),(5,21),(6,18),(7,11),(10,17),(14,23),(19,20)]
[(0,1),(2,5),(4,16),(6,8),(7,18),(9,21),(10,14),(11,13),(12,19),(15,23),(20,22)]
[(1,2),(3,5),(4,6),(7,9),(8,12),(10,16),(11,20),(13,22),(14,17),(15,18),(19,21)]
[(1,4),(2,6),(3,7),(5,9),(8,10),(11,14),(12,16),(13,17),(15,19),(18,20),(22,23)]
[(2,4),(3,8),(5,10),(7,12),(9,16),(11,15),(13,19),(14,21),(17,18),(20,22)]
[(3,4),(5,8),(6,7),(9,12),(10,11),(13,16),(14,15),(17,19),(18,21)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(20,21)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19)]

Improved size and depth over obtainable metrics by Batcher odd-even merge. The existence of a 13 layer network was conjectured in the conclusion of [Ehlers17].
Auto generated
Sorting network for 26 inputs, 138 CEs, 15 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25)]
[(0,4),(1,6),(2,5),(3,7),(8,14),(9,16),(10,15),(11,17),(18,22),(19,24),(20,23),(21,25)]
[(0,18),(1,19),(2,20),(3,21),(4,22),(5,23),(6,24),(7,25),(9,12),(13,16)]
[(3,11),(8,9),(10,13),(12,15),(14,22),(16,17)]
[(0,8),(1,9),(2,14),(6,12),(7,15),(10,18),(11,23),(13,19),(16,24),(17,25)]
[(1,2),(3,18),(4,8),(7,22),(17,21),(23,24)]
[(3,14),(4,10),(5,18),(7,20),(8,13),(11,22),(12,17),(15,21)]
[(1,4),(5,6),(7,9),(8,10),(15,17),(16,18),(19,20),(21,24)]
[(2,5),(3,10),(6,14),(9,13),(11,19),(12,16),(15,22),(20,23)]
[(2,8),(5,7),(6,9),(11,12),(13,14),(16,19),(17,23),(18,20)]
[(2,4),(3,5),(6,11),(7,10),(9,16),(12,13),(14,19),(15,18),(20,22),(21,23)]
[(3,4),(5,8),(6,7),(9,11),(10,12),(13,15),(14,16),(17,20),(18,19),(21,22)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]

Improved size over Batcher odd-even merge
Auto generated
Sorting network for 26 inputs, 139 CEs, 14 layers:

[(0,1),(2,3),(4,21),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(22,23),(24,25)]
[(0,24),(1,25),(3,21),(4,22),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20)]
[(0,4),(2,22),(3,23),(5,9),(6,10),(7,11),(8,12),(13,17),(14,18),(15,19),(16,20),(21,25)]
[(0,2),(1,3),(4,21),(5,13),(6,14),(7,15),(8,16),(9,17),(10,18),(11,19),(12,20),(22,24),(23,25)]
[(0,5),(1,7),(2,4),(3,10),(15,22),(18,24),(20,25),(21,23)]
[(2,9),(3,7),(4,14),(5,13),(6,15),(10,19),(11,21),(12,20),(16,23),(18,22)]
[(1,5),(2,6),(3,15),(7,17),(8,18),(10,22),(11,13),(12,14),(19,23),(20,24)]
[(1,2),(4,7),(5,11),(8,9),(10,12),(13,15),(14,20),(16,17),(18,21),(23,24)]
[(3,8),(4,6),(7,16),(9,18),(10,13),(12,15),(17,22),(19,21)]
[(4,5),(6,11),(7,9),(14,19),(16,18),(20,21)]
[(2,4),(3,6),(7,10),(8,11),(9,12),(13,16),(14,17),(15,18),(19,22),(21,23)]
[(3,4),(5,8),(6,7),(9,10),(11,13),(12,14),(15,16),(17,20),(18,19),(21,22)]
[(5,6),(7,8),(9,11),(10,13),(12,15),(14,16),(17,18),(19,20)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]

Auto generated
Sorting network for 26 inputs, 141 CEs, 13 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25)]
[(0,4),(1,5),(2,6),(3,7),(8,14),(9,16),(10,13),(11,17),(12,15),(18,22),(19,23),(20,24),(21,25)]
[(0,18),(1,19),(2,20),(3,21),(4,22),(5,23),(6,24),(7,25),(8,12),(10,14),(11,15),(13,17)]
[(1,18),(2,10),(3,20),(4,8),(5,22),(6,14),(7,24),(9,12),(11,19),(13,16),(15,23),(17,21)]
[(0,4),(1,9),(3,13),(5,15),(6,18),(7,19),(8,11),(10,20),(12,22),(14,17),(16,24),(21,25)]
[(2,4),(3,11),(5,9),(10,12),(13,15),(14,22),(16,20),(21,23)]
[(1,4),(3,8),(6,10),(7,13),(9,11),(12,18),(14,16),(15,19),(17,22),(21,24)]
[(1,2),(3,6),(4,5),(7,12),(8,10),(9,14),(11,16),(13,18),(15,17),(19,22),(20,21),(23,24)]
[(2,3),(4,6),(5,10),(7,9),(11,13),(12,14),(15,20),(16,18),(19,21),(22,23)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22)]
[(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21)]

Improved depth from 14 that could be achieved by Batcher odd-even merge
Auto generated
Sorting network for 27 inputs, 147 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,13),(15,17),(16,18),(19,21),(20,22),(23,25),(24,26)]
[(0,23),(1,24),(2,25),(3,26),(4,8),(5,9),(6,10),(7,11),(13,14),(15,19),(16,20),(17,21),(18,22)]
[(0,4),(1,6),(2,19),(3,20),(5,13),(9,21),(11,14),(12,16),(17,23),(18,24),(22,26)]
[(5,17),(6,16),(7,22),(9,25),(10,24),(12,15),(13,20),(14,26)]
[(1,12),(4,15),(7,23),(10,19),(11,16),(13,18),(20,24),(22,25)]
[(0,1),(6,12),(8,11),(9,15),(10,17),(14,24),(16,21),(18,19)]
[(1,4),(2,8),(3,11),(12,15),(14,20),(16,22),(21,25)]
[(2,5),(3,17),(8,13),(11,23),(21,22),(24,25)]
[(1,2),(3,10),(5,6),(7,13),(11,15),(14,21),(18,23),(20,22)]
[(4,5),(6,9),(7,8),(13,17),(14,16),(19,23),(22,24)]
[(2,4),(3,6),(5,7),(8,12),(9,10),(11,13),(14,18),(15,17),(16,19),(21,23)]
[(3,5),(6,8),(7,9),(10,12),(11,14),(13,16),(15,18),(17,19),(20,21),(22,23)]
[(5,6),(8,11),(9,10),(12,14),(13,15),(17,18),(19,21)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,20),(21,22)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20)]

Improved size compared to 150 that could be obtained by Batcher odd-even merge
Auto generated
Sorting network for 27 inputs, 148 CEs, 14 layers:

[(0,17),(1,20),(2,23),(3,24),(4,9),(5,18),(6,16),(7,13),(8,15),(10,14),(11,21),(19,26),(22,25)]
[(0,4),(1,8),(2,19),(3,7),(5,6),(9,17),(10,11),(12,25),(13,24),(14,21),(15,20),(16,18),(23,26)]
[(0,2),(1,3),(4,23),(5,10),(6,14),(7,8),(9,19),(11,16),(12,22),(13,15),(17,26),(18,21),(20,24)]
[(1,5),(2,12),(3,6),(4,9),(7,11),(8,18),(10,13),(14,15),(16,20),(19,23),(21,24),(25,26)]
[(0,2),(3,7),(4,22),(5,10),(8,13),(9,25),(11,14),(15,18),(20,21)]
[(0,1),(2,3),(4,5),(6,14),(7,10),(9,12),(11,17),(19,22),(23,25)]
[(1,2),(3,6),(5,11),(7,9),(8,19),(12,18),(14,26),(16,23),(17,22),(20,25)]
[(3,5),(6,16),(9,14),(10,12),(13,17),(15,23),(18,25),(19,20),(21,22),(24,26)]
[(2,10),(5,9),(6,8),(11,13),(12,14),(15,16),(17,21),(22,24)]
[(2,7),(3,6),(8,10),(9,11),(12,15),(13,19),(14,16),(17,20),(18,21),(22,23),(24,25)]
[(4,7),(5,8),(6,9),(10,11),(12,13),(14,17),(15,19),(16,20),(18,22),(23,24)]
[(1,4),(3,7),(5,6),(8,10),(9,12),(11,13),(14,15),(16,17),(18,19),(20,21)]
[(2,4),(6,7),(8,9),(10,12),(11,14),(13,15),(16,18),(17,19),(20,22),(21,23)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22)]

Auto generated
Sorting network for 28 inputs, 155 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(14,18),(15,19),(20,24),(21,25),(22,26),(23,27)]
[(0,20),(1,21),(2,22),(3,23),(4,24),(5,25),(6,26),(7,27),(9,17),(10,18),(11,15),(12,16)]
[(1,2),(4,20),(5,6),(7,23),(8,12),(9,16),(10,14),(11,18),(13,17),(15,19),(21,22),(25,26)]
[(0,8),(1,9),(2,12),(3,5),(4,10),(6,16),(7,13),(11,21),(14,20),(15,25),(17,23),(18,26),(19,27),(22,24)]
[(2,4),(3,7),(5,17),(8,14),(9,11),(10,22),(13,19),(16,18),(20,24),(23,25)]
[(1,8),(3,9),(5,11),(6,10),(7,15),(12,20),(16,22),(17,21),(18,24),(19,26)]
[(1,2),(4,6),(5,9),(10,16),(11,17),(12,14),(13,15),(18,22),(21,23),(25,26)]
[(4,8),(6,12),(7,11),(10,14),(13,17),(15,21),(16,20),(19,23)]
[(2,4),(6,8),(7,16),(9,14),(10,12),(11,20),(13,18),(15,17),(19,21),(23,25)]
[(3,10),(5,12),(7,9),(11,13),(14,16),(15,22),(17,24),(18,20)]
[(3,6),(5,8),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24)]

Improved size over 156 that could be obtained by Batcher odd-even merge
Auto generated
Sorting network for 29 inputs, 164 CEs, 15 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,28),(17,26),(18,25),(19,23),(21,27),(22,24)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(17,22),(18,19),(20,27),(23,25),(24,26)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,18),(19,22),(23,24),(25,26),(27,28)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,18),(20,22),(21,25),(24,27),(26,28)]
[(1,8),(2,24),(4,19),(5,20),(6,21),(7,27),(9,18),(10,23),(11,26),(13,22),(14,25),(15,28),(16,17)]
[(0,6),(2,4),(3,24),(5,10),(12,19),(13,18),(14,21),(15,25),(20,23),(26,27)]
[(0,16),(1,6),(3,12),(4,8),(5,17),(7,24),(14,20),(15,26),(18,21),(19,23),(25,27)]
[(1,5),(2,16),(3,10),(6,9),(7,18),(8,17),(11,19),(13,14),(15,22),(21,23),(25,26)]
[(1,2),(3,5),(4,8),(6,16),(7,11),(9,17),(10,12),(14,20),(15,18),(19,24),(22,27)]
[(4,6),(9,16),(10,13),(11,19),(12,14),(20,21),(22,26),(23,24)]
[(2,4),(3,6),(7,16),(8,9),(11,17),(15,19),(18,23),(24,25)]
[(3,4),(5,9),(7,10),(11,13),(12,16),(14,17),(15,20),(19,21),(22,24)]
[(5,8),(6,7),(9,12),(10,11),(13,14),(15,16),(17,20),(18,19),(21,23),(24,25)]
[(5,6),(7,8),(9,10),(11,12),(13,15),(14,16),(17,18),(19,20),(21,22)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23)]

Improved size over 165 that could be obtained by Batcher odd-even merge
Auto generated
Sorting network for 29 inputs, 166 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28)]
[(0,16),(1,8),(2,4),(3,12),(5,10),(6,9),(7,14),(11,13),(17,24),(18,20),(19,28),(21,26),(22,25),(23,27)]
[(1,2),(3,5),(4,8),(6,22),(7,11),(9,25),(10,12),(13,14),(17,18),(19,21),(20,24),(26,28)]
[(1,17),(2,18),(3,19),(4,20),(5,10),(7,23),(8,24),(11,27),(12,28),(13,25),(21,26)]
[(3,17),(4,16),(5,21),(6,18),(7,9),(8,20),(10,26),(11,23),(14,28),(15,27),(22,24)]
[(1,4),(3,8),(5,16),(7,17),(9,21),(10,22),(11,19),(12,20),(14,24),(15,26),(23,28)]
[(2,5),(7,8),(9,18),(11,17),(12,16),(13,22),(14,20),(15,19),(23,24)]
[(2,4),(6,12),(9,16),(10,11),(13,17),(14,18),(15,22),(19,25),(20,21)]
[(5,6),(8,12),(9,10),(11,13),(14,16),(15,17),(18,20),(19,23),(21,22),(25,26)]
[(3,5),(6,7),(8,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,21),(22,23),(24,25),(26,28)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28)]

Obtained by removing 3 inputs from the 32 input network with 185 elements and 14 layers.
Auto generated
Sorting network for 30 inputs, 172 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(13,15),(14,16),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29)]
[(0,4),(1,5),(2,6),(3,7),(8,14),(9,17),(10,16),(12,20),(13,19),(15,21),(22,26),(23,27),(24,28),(25,29)]
[(0,8),(1,9),(2,14),(3,17),(4,10),(5,11),(6,16),(12,26),(13,23),(15,27),(18,24),(19,25),(20,28),(21,29)]
[(1,13),(2,12),(3,15),(4,18),(5,19),(6,20),(7,21),(8,22),(9,23),(10,24),(11,25),(14,26),(16,28),(17,27)]
[(0,4),(2,8),(3,13),(5,9),(6,22),(7,23),(10,12),(11,15),(14,18),(16,26),(17,19),(20,24),(21,27),(25,29)]
[(0,2),(1,14),(3,5),(4,8),(9,13),(11,17),(12,18),(15,28),(16,20),(21,25),(24,26),(27,29)]
[(2,4),(5,9),(6,14),(7,13),(8,10),(15,23),(16,22),(19,21),(20,24),(25,27)]
[(6,8),(7,11),(10,14),(12,16),(13,17),(15,19),(18,22),(21,23)]
[(4,6),(7,9),(8,10),(11,13),(12,14),(15,17),(16,18),(19,21),(20,22),(23,25)]
[(1,8),(3,18),(5,20),(7,22),(9,24),(10,12),(11,26),(13,15),(14,16),(17,19),(21,28)]
[(1,2),(3,10),(5,12),(7,14),(9,16),(11,18),(13,20),(15,22),(17,24),(19,26),(27,28)]
[(2,4),(3,6),(5,8),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,27)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26)]

Combines best known size and depth. An interesting pattern emerged through evolution in the last 4 layers: each layer "specializes" in elements bridging vertical distances of respectively 15, 7, 3 and 1, equally spaced with a stride of 2. This pattern is also typical for "pairwise" sorting networks [Par92].
Auto generated
Sorting network for 31 inputs, 180 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30)]
[(0,16),(1,8),(2,4),(3,12),(5,10),(6,9),(7,14),(11,13),(17,24),(18,20),(19,28),(21,26),(22,25),(23,30),(27,29)]
[(1,2),(3,5),(4,8),(6,22),(7,11),(9,25),(10,12),(13,14),(17,18),(19,21),(20,24),(23,27),(26,28),(29,30)]
[(1,17),(2,18),(3,19),(4,20),(5,10),(7,23),(8,24),(11,27),(12,28),(13,29),(14,30),(21,26)]
[(3,17),(4,16),(5,21),(6,18),(7,9),(8,20),(10,26),(11,23),(13,25),(14,28),(15,27),(22,24)]
[(1,4),(3,8),(5,16),(7,17),(9,21),(10,22),(11,19),(12,20),(14,24),(15,26),(23,28),(27,30)]
[(2,5),(7,8),(9,18),(11,17),(12,16),(13,22),(14,20),(15,19),(23,24),(26,29)]
[(2,4),(6,12),(9,16),(10,11),(13,17),(14,18),(15,22),(19,25),(20,21),(27,29)]
[(5,6),(8,12),(9,10),(11,13),(14,16),(15,17),(18,20),(19,23),(21,22),(25,26)]
[(3,5),(6,7),(8,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,21),(22,23),(24,25),(26,28)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28)]

Obtained by removing one input from the network with 32 inputs, 185 elements and 14 layers.
Auto generated
Sorting network for 32 inputs, 185 CEs, 14 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31)]
[(0,16),(1,8),(2,4),(3,12),(5,10),(6,9),(7,14),(11,13),(15,31),(17,24),(18,20),(19,28),(21,26),(22,25),(23,30),(27,29)]
[(1,2),(3,5),(4,8),(6,22),(7,11),(9,25),(10,12),(13,14),(17,18),(19,21),(20,24),(23,27),(26,28),(29,30)]
[(1,17),(2,18),(3,19),(4,20),(5,10),(7,23),(8,24),(11,27),(12,28),(13,29),(14,30),(21,26)]
[(3,17),(4,16),(5,21),(6,18),(7,9),(8,20),(10,26),(11,23),(13,25),(14,28),(15,27),(22,24)]
[(1,4),(3,8),(5,16),(7,17),(9,21),(10,22),(11,19),(12,20),(14,24),(15,26),(23,28),(27,30)]
[(2,5),(7,8),(9,18),(11,17),(12,16),(13,22),(14,20),(15,19),(23,24),(26,29)]
[(2,4),(6,12),(9,16),(10,11),(13,17),(14,18),(15,22),(19,25),(20,21),(27,29)]
[(5,6),(8,12),(9,10),(11,13),(14,16),(15,17),(18,20),(19,23),(21,22),(25,26)]
[(3,5),(6,7),(8,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,21),(22,23),(24,25),(26,28)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28)]

This network was obtained by evolution using a fixed prefix in its first 4 layers. Its size and depth combine the best results that can be achieved using a Batcher odd-even merge of either twice the 16 input network with 60 CEs and 10 layers or twice the 16 input network with 61 CEs and 9 layers.
Auto generated
Sorting network for 33 inputs, 199 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31)]
[(1,4),(2,16),(3,20),(5,18),(6,17),(7,22),(9,24),(10,12),(11,28),(13,26),(14,25),(15,29),(19,21),(23,32),(27,30)]
[(1,2),(3,9),(4,16),(6,10),(7,19),(11,17),(12,24),(13,23),(15,27),(22,26),(25,28),(29,30)]
[(3,6),(7,12),(9,18),(10,20),(13,14),(15,28),(17,22),(21,25),(27,32)]
[(5,13),(6,16),(9,10),(12,20),(14,19),(15,23),(25,26),(30,32)]
[(5,8),(11,13),(14,18),(15,21),(19,22),(23,27),(31,32)]
[(4,5),(7,11),(8,16),(12,14),(13,24),(15,17),(18,20),(19,21),(22,28),(23,25),(27,29)]
[(1,4),(3,5),(6,8),(7,9),(10,11),(13,15),(17,24),(22,23),(26,27),(29,30)]
[(0,1),(2,6),(8,9),(11,16),(12,13),(14,17),(15,18),(19,22),(20,24),(25,26)]
[(2,4),(5,8),(6,7),(9,11),(10,12),(13,16),(14,15),(17,20),(18,19),(21,24),(23,25),(26,28)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(28,29)]

Improved size over Batcher and Van Voorhis merges
Auto generated
Sorting network for 33 inputs, 200 CEs, 15 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31)]
[(1,16),(2,8),(3,17),(5,10),(6,9),(7,28),(11,26),(12,20),(13,19),(14,21),(15,30),(18,24),(22,25),(23,29),(27,32)]
[(3,12),(4,16),(5,18),(6,17),(7,11),(13,22),(14,27),(15,23),(19,25),(26,28),(29,30)]
[(1,4),(3,5),(7,13),(9,18),(11,21),(12,24),(14,16),(15,27),(17,20),(19,26),(23,32),(25,28)]
[(5,9),(7,16),(8,14),(10,17),(11,22),(15,19),(18,20),(21,26),(23,27),(31,32)]
[(2,8),(6,9),(7,14),(10,12),(11,15),(13,16),(17,24),(19,23),(22,25),(27,29),(30,31)]
[(1,2),(4,8),(6,7),(11,18),(12,14),(13,17),(15,20),(16,24),(19,21),(23,28),(26,27),(29,30)]
[(0,1),(2,4),(3,6),(5,12),(7,10),(9,14),(11,13),(15,17),(16,18),(19,22),(20,24),(21,25),(23,26),(27,28)]
[(3,4),(5,6),(7,8),(9,12),(10,11),(13,14),(15,16),(17,18),(19,20),(21,23),(22,24),(25,26),(28,29)]
[(5,7),(6,8),(9,10),(11,12),(13,15),(14,16),(17,19),(18,20),(21,22),(23,24),(26,27)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25)]

Auto generated
Sorting network for 34 inputs, 209 CEs, 17 layers:

[(0,33),(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]
[(1,3),(2,4),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,27),(26,28),(29,31),(30,32)]
[(1,5),(2,6),(3,7),(4,8),(9,13),(10,14),(11,15),(12,16),(17,21),(18,22),(19,23),(20,24),(25,29),(26,30),(27,31),(28,32)]
[(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(8,16),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(24,32)]
[(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(16,32)]
[(0,4),(2,3),(5,17),(6,11),(7,10),(8,12),(14,15),(16,28),(18,19),(21,25),(22,27),(23,26),(29,33),(30,31)]
[(0,7),(2,9),(4,13),(8,14),(19,25),(20,29),(24,31),(26,33)]
[(0,9),(4,18),(7,21),(8,19),(10,20),(12,26),(13,23),(14,25),(15,29),(24,33)]
[(0,5),(3,7),(6,10),(9,17),(11,20),(12,15),(13,22),(16,24),(18,21),(23,27),(26,30),(28,33)]
[(0,1),(3,5),(4,6),(7,17),(10,13),(11,18),(15,22),(16,26),(20,23),(27,29),(28,30),(32,33)]
[(4,9),(6,11),(8,10),(12,15),(13,19),(14,20),(18,21),(22,27),(23,25),(24,29)]
[(2,4),(5,9),(6,7),(11,17),(12,18),(13,14),(15,21),(16,22),(19,20),(24,28),(26,27),(29,31)]
[(1,2),(3,4),(7,8),(10,17),(12,13),(14,18),(15,19),(16,23),(20,21),(25,26),(29,30),(31,32)]
[(2,3),(4,5),(7,9),(8,11),(10,12),(13,17),(14,15),(16,20),(18,19),(21,23),(22,25),(24,26),(28,29),(30,31)]
[(6,7),(8,9),(11,12),(13,14),(16,17),(19,20),(21,22),(24,25),(26,27)]
[(5,6),(7,8),(10,11),(12,13),(15,16),(17,18),(20,21),(22,23),(25,26),(27,28)]
[(9,10),(14,15),(16,17),(18,19),(23,24)]

Improved size over Batcher and Van Voorhis merges
Auto generated
Sorting network for 34 inputs, 210 CEs, 16 layers:

[(0,33),(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]
[(1,3),(2,4),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,27),(26,28),(29,31),(30,32)]
[(1,5),(2,6),(3,7),(4,8),(9,13),(10,14),(11,15),(12,16),(17,21),(18,22),(19,23),(20,24),(25,29),(26,30),(27,31),(28,32)]
[(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(8,16),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(24,32)]
[(0,20),(1,17),(2,3),(5,9),(6,10),(7,11),(8,12),(13,33),(14,15),(16,32),(18,19),(21,25),(22,26),(23,27),(24,28),(30,31)]
[(0,17),(2,18),(3,19),(4,20),(5,21),(6,7),(8,24),(9,25),(10,11),(12,28),(13,29),(14,30),(15,31),(16,33),(22,23),(26,27)]
[(0,1),(4,17),(6,22),(7,23),(8,19),(10,26),(11,27),(12,20),(13,21),(14,25),(16,29),(32,33)]
[(1,6),(3,13),(4,18),(7,21),(8,14),(11,17),(12,26),(15,29),(16,22),(19,25),(20,30),(27,32)]
[(1,2),(3,5),(4,9),(10,18),(11,16),(12,14),(15,23),(17,22),(19,21),(24,29),(28,30),(31,32)]
[(1,3),(2,4),(7,10),(8,11),(9,13),(12,19),(14,21),(15,16),(17,18),(20,24),(22,25),(23,26),(29,31),(30,32)]
[(2,3),(4,5),(6,11),(8,9),(10,13),(15,17),(16,18),(20,23),(22,27),(24,25),(28,29),(30,31)]
[(3,4),(5,7),(6,10),(11,13),(12,15),(14,17),(16,19),(18,21),(20,22),(23,27),(26,28),(29,30)]
[(6,8),(7,9),(11,12),(13,15),(14,16),(17,19),(18,20),(21,22),(24,26),(25,27)]
[(5,6),(7,8),(9,10),(13,14),(15,17),(16,18),(19,20),(23,24),(25,26),(27,28)]
[(4,5),(6,7),(9,11),(10,12),(15,16),(17,18),(21,23),(22,24),(26,27),(28,29)]
[(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25)]

Auto generated
Sorting network for 34 inputs, 213 CEs, 15 layers:

[(0,33),(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]
[(1,3),(2,4),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,27),(26,28),(29,31),(30,32)]
[(1,5),(2,6),(3,7),(4,8),(9,13),(10,14),(11,15),(12,16),(17,21),(18,22),(19,23),(20,24),(25,29),(26,30),(27,31),(28,32)]
[(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(8,16),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(24,32)]
[(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(16,32)]
[(0,1),(2,3),(4,13),(5,9),(6,11),(7,10),(8,12),(14,15),(18,19),(20,29),(21,25),(22,27),(23,26),(24,28),(30,31),(32,33)]
[(1,22),(2,5),(3,9),(6,21),(7,18),(8,19),(10,13),(11,32),(12,27),(14,25),(15,26),(20,23),(24,30),(28,31)]
[(1,9),(4,11),(8,14),(10,21),(12,23),(13,20),(15,17),(16,18),(19,25),(22,29),(24,32)]
[(1,3),(4,15),(5,8),(9,13),(11,16),(17,22),(18,29),(20,24),(25,28),(30,32)]
[(1,4),(3,7),(6,15),(8,11),(9,10),(12,17),(13,14),(16,21),(18,27),(19,20),(22,25),(23,24),(26,30),(29,32)]
[(1,2),(3,6),(4,5),(7,15),(8,9),(10,11),(12,19),(13,16),(14,21),(17,20),(18,26),(22,23),(24,25),(27,30),(28,29),(31,32)]
[(2,4),(6,10),(7,9),(11,15),(12,13),(14,17),(16,19),(18,22),(20,21),(23,27),(24,26),(29,31)]
[(3,4),(5,7),(6,8),(9,10),(11,12),(13,15),(14,16),(17,19),(18,20),(21,22),(23,24),(25,27),(26,28),(29,30)]
[(5,6),(7,8),(9,11),(10,12),(13,14),(15,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29)]

Improved depth compared to Batcher O-E merge
Auto generated
Sorting network for 35 inputs, 220 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(33,34)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,33)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31)]
[(0,32),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,34)]
[(5,6),(9,19),(14,28),(15,31),(16,32),(17,33),(18,24),(21,22)]
[(1,17),(3,16),(9,21),(10,32),(13,33),(14,22),(15,20),(19,26),(30,31)]
[(1,3),(2,15),(7,13),(8,17),(10,16),(11,33),(20,32),(23,30)]
[(3,4),(5,16),(6,17),(7,15),(11,19),(12,20),(13,24),(23,29),(25,32),(26,33)]
[(1,3),(4,8),(5,10),(6,7),(9,12),(13,15),(14,25),(16,18),(19,24),(20,21),(28,32),(29,33)]
[(2,5),(10,16),(11,20),(12,14),(17,18),(21,23),(22,25),(26,28),(27,33),(30,32)]
[(2,4),(5,8),(9,16),(11,17),(12,13),(14,15),(18,20),(19,26),(21,22),(23,25),(24,28),(27,30),(31,33)]
[(2,3),(4,5),(6,9),(7,16),(8,10),(11,12),(13,18),(14,17),(15,20),(19,21),(22,24),(23,26),(25,28),(27,29),(31,32)]
[(6,8),(7,9),(10,11),(12,14),(13,16),(15,19),(17,18),(20,21),(22,23),(24,26),(25,27),(28,29),(30,31)]
[(5,6),(7,10),(9,11),(12,13),(14,16),(15,17),(18,19),(20,22),(21,23),(24,25),(26,27),(29,30)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28)]

Improved size over Batcher and Van Voorhis merges
Auto generated
Sorting network for 35 inputs, 221 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(33,34)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,33)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31)]
[(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(15,34),(16,32),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30)]
[(0,16),(5,6),(9,19),(10,32),(15,20),(17,33),(18,24),(21,22),(23,29),(25,28),(27,30),(31,34)]
[(1,17),(2,15),(3,10),(4,16),(7,33),(9,32),(12,20),(19,26),(23,25),(28,31)]
[(1,4),(3,16),(5,10),(6,15),(7,13),(8,17),(11,20),(12,21),(14,33),(22,23)]
[(3,4),(5,16),(7,18),(9,12),(10,17),(11,22),(13,19),(14,24),(20,26),(21,32),(23,33)]
[(2,5),(4,8),(6,7),(9,10),(11,14),(12,17),(13,21),(15,18),(19,24),(20,28),(22,32),(26,29),(27,33)]
[(2,4),(5,8),(6,9),(7,16),(11,12),(13,15),(14,17),(18,21),(19,23),(20,22),(24,32),(25,28),(26,27),(31,33)]
[(2,3),(4,5),(7,8),(10,16),(11,13),(12,15),(14,18),(17,21),(19,20),(22,23),(24,25),(28,32),(29,31),(30,33)]
[(6,7),(8,9),(10,11),(12,14),(13,16),(15,17),(18,19),(20,24),(21,22),(23,26),(25,28),(29,32)]
[(5,6),(8,10),(9,11),(12,13),(14,16),(15,18),(17,19),(20,21),(22,24),(23,25),(26,28),(27,29),(30,32)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]

Auto generated
Sorting network for 36 inputs, 227 CEs, 18 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]
[(0,34),(1,35),(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33)]
[(2,6),(3,7),(4,8),(5,9),(10,14),(11,15),(12,16),(13,17),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33)]
[(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(8,16),(9,17),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(24,32),(25,33)]
[(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(16,32),(17,33)]
[(0,2),(1,3),(4,10),(5,11),(8,26),(9,27),(12,22),(13,23),(14,20),(15,21),(24,30),(25,31),(32,34),(33,35)]
[(1,10),(2,12),(3,22),(11,19),(13,32),(16,24),(23,33),(25,34)]
[(2,18),(3,12),(7,13),(17,33),(22,28),(23,32)]
[(3,8),(5,23),(6,18),(7,11),(12,30),(13,19),(16,22),(17,29),(24,28),(27,32)]
[(1,6),(4,7),(5,14),(8,20),(9,23),(10,18),(11,13),(12,26),(15,27),(17,25),(21,30),(22,24),(28,31),(29,34)]
[(2,4),(3,5),(7,8),(9,15),(12,14),(20,26),(21,23),(27,28),(30,32),(31,33)]
[(1,2),(4,6),(7,10),(8,18),(9,22),(11,20),(13,26),(14,16),(15,24),(17,27),(19,21),(25,28),(29,31),(33,34)]
[(2,4),(3,7),(5,8),(9,14),(11,12),(13,18),(15,16),(17,22),(19,20),(21,26),(23,24),(27,30),(28,32),(31,33)]
[(3,4),(5,11),(6,7),(8,12),(9,13),(14,18),(15,19),(16,20),(17,21),(22,26),(23,27),(24,30),(28,29),(31,32)]
[(4,6),(7,10),(9,11),(12,15),(13,14),(16,17),(18,19),(20,23),(21,22),(24,26),(25,28),(29,31)]
[(5,7),(8,10),(12,13),(14,15),(16,18),(17,19),(20,21),(22,23),(25,27),(28,30)]
[(5,6),(8,9),(10,11),(13,14),(15,16),(17,18),(19,20),(21,22),(24,25),(26,27),(29,30)]
[(7,8),(9,10),(11,12),(23,24),(25,26),(27,28)]

Improved size over Batcher and Van Voorhis merges
Auto generated
Sorting network for 36 inputs, 228 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]
[(0,34),(1,35),(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33)]
[(1,34),(2,6),(3,7),(4,8),(5,9),(10,14),(11,15),(12,16),(13,17),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33)]
[(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(8,16),(9,17),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(24,32),(25,33)]
[(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(16,32),(17,33)]
[(0,2),(3,4),(5,26),(6,10),(7,8),(9,30),(11,20),(12,19),(15,24),(16,23),(25,29),(27,28),(31,32),(33,35)]
[(1,7),(2,18),(11,12),(15,16),(17,33),(19,20),(23,24),(28,34)]
[(1,5),(2,6),(7,21),(8,20),(9,17),(14,28),(15,27),(18,26),(29,33),(30,34)]
[(7,9),(10,18),(13,21),(14,22),(17,25),(26,28)]
[(4,14),(5,7),(6,10),(9,13),(12,18),(17,23),(21,31),(22,26),(25,29),(28,30)]
[(1,10),(4,6),(5,11),(7,19),(8,22),(9,15),(13,27),(14,18),(16,28),(17,21),(20,26),(24,30),(25,34),(29,31)]
[(1,3),(7,9),(8,14),(10,12),(13,15),(16,18),(17,19),(20,22),(21,27),(23,25),(26,28),(32,34)]
[(1,2),(3,6),(5,10),(7,12),(9,11),(13,18),(15,19),(16,20),(17,22),(23,28),(24,26),(25,30),(29,32),(33,34)]
[(2,4),(3,5),(6,7),(8,10),(9,16),(11,20),(12,14),(13,17),(15,24),(18,22),(19,26),(21,23),(25,27),(28,29),(30,32),(31,33)]
[(3,4),(5,6),(7,12),(9,10),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,28),(25,26),(29,30),(31,32)]
[(6,8),(7,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,25),(26,28),(27,29)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30)]

Auto generated
Sorting network for 36 inputs, 229 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(20,24),(21,25),(22,26),(23,27),(28,32),(29,33),(30,34),(31,35)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(20,28),(21,29),(22,30),(23,31),(24,32),(25,33),(26,34),(27,35)]
[(0,20),(1,21),(2,22),(3,23),(4,24),(5,25),(6,26),(7,27),(8,28),(9,29),(10,30),(11,31),(12,32),(13,33),(14,34),(15,35)]
[(2,8),(3,28),(4,16),(5,17),(6,12),(7,32),(9,22),(10,21),(13,26),(14,25),(18,30),(19,31),(23,29),(27,33)]
[(3,18),(5,24),(7,19),(8,20),(9,10),(11,30),(13,14),(15,27),(16,28),(17,32),(21,22),(25,26)]
[(1,5),(2,3),(4,8),(6,21),(7,18),(12,22),(13,23),(14,29),(15,19),(16,20),(17,28),(27,31),(30,34),(32,33)]
[(0,4),(1,2),(3,9),(5,20),(6,7),(8,16),(11,18),(15,30),(17,24),(19,27),(26,32),(28,29),(31,35),(33,34)]
[(1,4),(2,16),(5,6),(7,21),(10,20),(11,13),(12,17),(14,28),(15,25),(18,23),(19,33),(22,24),(29,30),(31,34)]
[(2,8),(3,5),(9,11),(12,16),(13,18),(14,20),(15,21),(17,22),(19,23),(24,26),(27,33),(30,32)]
[(2,4),(3,8),(6,9),(7,14),(10,16),(11,17),(13,20),(15,22),(18,24),(19,25),(21,28),(26,29),(27,32),(31,33)]
[(3,4),(5,10),(6,12),(7,11),(9,16),(13,15),(14,17),(18,21),(19,26),(20,22),(23,29),(24,28),(25,30),(31,32)]
[(5,6),(7,9),(10,12),(11,16),(13,14),(15,18),(17,20),(19,24),(21,22),(23,25),(26,28),(29,30)]
[(6,8),(7,10),(9,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,28),(27,29)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30)]

Auto generated
Sorting network for 37 inputs, 240 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,35),(33,36)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,33),(34,36)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(33,34),(35,36)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(34,35)]
[(0,32),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,36)]
[(1,33),(3,6),(7,13),(12,31),(16,32),(18,35),(20,34),(21,22),(23,29),(25,26)]
[(2,20),(4,16),(11,25),(12,32),(17,33),(19,34),(21,31),(28,35)]
[(3,12),(8,17),(9,21),(10,32),(13,28),(14,33),(15,35),(18,20),(25,31)]
[(2,8),(3,16),(5,18),(7,20),(10,19),(14,24),(15,23),(22,33),(27,35),(30,31),(32,34)]
[(1,3),(5,16),(6,14),(7,17),(9,10),(11,19),(12,18),(13,22),(20,24),(21,32),(25,33),(26,34),(27,30),(31,35)]
[(1,4),(3,5),(6,9),(10,21),(11,13),(12,16),(14,18),(15,22),(17,20),(19,32),(23,33),(24,28),(25,26),(29,34)]
[(2,4),(5,8),(7,16),(10,17),(11,14),(13,18),(15,24),(19,25),(20,21),(22,28),(23,27),(26,32),(30,34)]
[(3,4),(6,7),(8,12),(9,16),(10,11),(13,17),(14,20),(15,19),(18,21),(22,25),(23,29),(24,26),(28,32),(30,33),(31,34)]
[(4,5),(6,8),(7,9),(10,12),(11,14),(13,16),(15,17),(18,20),(19,22),(21,24),(23,25),(26,28),(27,30),(29,32),(31,33)]
[(5,6),(7,10),(9,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,24),(23,26),(25,28),(27,29),(30,32)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]

Improved size compared to Batcher and Van Voorhis merges
Auto generated
Sorting network for 37 inputs, 243 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,35),(33,36)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,33),(34,36)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(33,34),(35,36)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(34,35)]
[(0,32),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,36)]
[(1,4),(2,8),(3,6),(7,13),(9,31),(12,34),(16,32),(17,33),(18,35),(19,22),(25,28)]
[(2,12),(4,16),(6,9),(8,17),(10,32),(11,35),(13,33),(18,24),(19,21),(20,34),(26,31)]
[(5,18),(6,10),(7,13),(8,20),(9,19),(11,33),(12,32),(14,26),(15,31),(21,25),(22,34),(23,35)]
[(1,8),(2,6),(3,18),(7,20),(9,12),(10,17),(11,21),(13,24),(14,22),(15,28),(19,32),(23,29),(25,33),(26,34),(27,31),(30,35)]
[(1,4),(3,5),(6,16),(9,10),(11,13),(12,17),(14,19),(15,32),(18,20),(21,23),(22,25),(24,26),(27,29),(28,34),(30,33),(31,35)]
[(2,4),(3,8),(5,7),(10,16),(11,14),(12,18),(13,20),(15,21),(17,19),(22,24),(23,32),(25,26),(27,28),(29,34)]
[(4,6),(5,9),(7,16),(8,10),(11,12),(13,17),(14,18),(15,22),(19,20),(21,25),(23,24),(26,32),(27,30),(29,33),(31,34)]
[(3,4),(6,8),(7,10),(9,11),(12,16),(13,14),(15,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,32),(29,30),(31,33)]
[(4,6),(5,8),(7,9),(10,11),(12,13),(14,16),(15,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,32)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]

Auto generated
Sorting network for 38 inputs, 250 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,20),(17,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,18),(19,21),(22,26),(23,27),(24,28),(25,29),(30,34),(31,35),(32,36),(33,37)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(17,19),(18,20),(22,30),(23,31),(24,32),(25,33),(26,34),(27,35),(28,36),(29,37)]
[(0,22),(1,23),(2,24),(3,25),(4,26),(5,27),(6,28),(7,29),(8,30),(9,31),(10,32),(11,33),(12,34),(13,35),(14,36),(15,37),(17,18),(19,20)]
[(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(23,24),(25,34),(26,30),(27,32),(28,31),(29,33),(35,36)]
[(4,17),(5,6),(7,13),(9,10),(11,18),(14,21),(16,23),(19,26),(20,33),(24,30),(27,28),(31,32)]
[(3,19),(5,17),(6,22),(8,16),(9,23),(14,28),(15,31),(18,34),(20,32),(21,29)]
[(1,8),(4,6),(11,22),(12,14),(13,20),(15,26),(17,24),(23,25),(29,36),(31,33)]
[(0,1),(2,11),(3,8),(7,15),(10,12),(13,19),(18,24),(22,30),(25,27),(26,35),(29,34),(36,37)]
[(1,4),(2,6),(9,13),(10,17),(11,16),(12,18),(14,22),(15,23),(19,25),(20,27),(21,26),(24,28),(31,35),(33,36)]
[(2,3),(5,11),(7,15),(8,9),(12,17),(13,16),(14,19),(18,23),(20,25),(21,24),(22,30),(26,32),(28,29),(34,35)]
[(2,4),(3,5),(6,11),(7,12),(9,10),(13,14),(15,17),(16,19),(18,21),(20,22),(23,24),(25,30),(26,31),(27,28),(32,34),(33,35)]
[(3,4),(5,9),(6,8),(7,13),(10,11),(12,16),(14,15),(17,19),(18,20),(21,25),(22,23),(24,30),(26,27),(28,32),(29,31),(33,34)]
[(4,6),(7,10),(8,9),(11,13),(12,14),(15,18),(16,17),(19,22),(20,21),(23,25),(24,26),(27,30),(28,29),(31,33)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32)]
[(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31)]

Improved size compared to Batcher and Van Voorhis merges
Auto generated
Sorting network for 38 inputs, 255 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(17,19),(18,20),(22,26),(23,27),(24,28),(25,29),(30,34),(31,35),(32,36),(33,37)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,18),(17,20),(19,21),(22,30),(23,31),(24,32),(25,33),(26,34),(27,35),(28,36),(29,37)]
[(0,22),(1,23),(2,24),(3,25),(4,26),(5,27),(6,28),(7,29),(8,30),(9,31),(10,32),(11,33),(12,34),(13,35),(14,36),(15,37),(17,18),(19,20)]
[(0,16),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(15,20),(17,22),(21,37),(23,24),(25,34),(26,30),(27,32),(28,31),(29,33),(35,36)]
[(2,8),(4,17),(5,15),(7,19),(9,10),(11,14),(13,16),(18,30),(20,33),(21,24),(22,32),(23,26),(27,28),(29,35)]
[(2,13),(3,23),(5,6),(7,9),(12,22),(14,34),(15,25),(16,19),(18,21),(24,35),(28,30),(31,32)]
[(1,2),(3,5),(6,12),(7,26),(8,18),(9,27),(10,28),(11,30),(13,23),(14,24),(15,16),(19,29),(21,22),(25,31),(32,34),(35,36)]
[(1,4),(2,17),(6,8),(7,13),(9,23),(10,21),(11,22),(12,18),(14,28),(15,26),(16,27),(19,25),(20,35),(24,30),(29,31),(33,36)]
[(2,6),(3,7),(5,9),(8,17),(10,13),(11,21),(12,15),(14,19),(16,26),(18,23),(20,29),(22,25),(24,27),(28,32),(30,34),(31,35)]
[(2,4),(5,10),(7,8),(9,13),(11,16),(14,18),(15,17),(19,23),(20,22),(21,26),(24,28),(27,32),(29,30),(33,35)]
[(3,4),(5,6),(9,15),(10,12),(11,14),(13,17),(16,19),(18,21),(20,24),(22,28),(23,26),(25,27),(31,32),(33,34)]
[(5,7),(6,10),(8,9),(11,13),(12,15),(14,17),(16,18),(19,21),(20,23),(22,25),(24,26),(27,31),(28,29),(30,32)]
[(4,7),(6,8),(9,10),(11,12),(13,15),(14,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28),(29,31),(30,33)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33)]

Auto generated
Sorting network for 39 inputs, 259 CEs, 17 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,38),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,36),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(37,38)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,32),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(33,37),(34,36),(35,38)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,24),(17,20),(19,22),(25,33),(26,34),(27,35),(28,32),(29,37),(30,36),(31,38)]
[(0,15),(1,26),(2,25),(3,28),(4,30),(5,29),(6,27),(7,24),(8,32),(9,33),(10,34),(11,35),(12,36),(13,37),(14,31)]
[(1,2),(4,9),(5,10),(6,8),(7,16),(12,13),(14,21),(18,24),(23,31),(25,26),(27,32),(29,34),(30,33),(36,37)]
[(3,18),(4,6),(5,25),(8,9),(10,24),(13,34),(14,29),(15,16),(21,35),(23,38),(27,30),(32,33)]
[(4,17),(7,15),(9,20),(10,16),(11,21),(18,28),(19,27),(22,33),(23,29),(31,38)]
[(0,7),(1,4),(3,15),(6,9),(10,18),(11,12),(13,22),(14,19),(17,25),(20,24),(21,29),(26,28),(27,32),(31,35),(33,37)]
[(2,6),(3,7),(5,14),(8,19),(9,16),(10,15),(12,25),(13,26),(20,30),(23,27),(24,34),(29,31),(32,36),(35,38)]
[(1,3),(2,15),(4,5),(6,18),(8,17),(9,13),(11,23),(12,19),(16,28),(20,26),(21,32),(22,30),(25,27),(29,36),(33,34),(37,38)]
[(2,7),(4,10),(5,8),(6,9),(11,17),(12,14),(13,20),(16,18),(19,25),(21,23),(22,28),(24,26),(27,32),(30,33),(31,34),(35,36)]
[(2,3),(6,10),(9,15),(11,12),(13,16),(14,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(31,32),(36,37)]
[(3,4),(5,9),(8,15),(11,13),(12,18),(14,16),(17,20),(19,22),(21,26),(23,24),(25,28),(27,30),(29,33),(34,36)]
[(4,7),(5,6),(8,9),(10,11),(12,14),(13,15),(16,17),(18,19),(20,21),(22,23),(24,26),(25,27),(28,31),(29,30),(32,33),(34,35)]
[(6,7),(8,10),(9,11),(12,13),(14,15),(16,18),(17,19),(20,22),(21,23),(24,25),(26,27),(28,29),(30,31),(32,34)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34)]

Obtained by reduction of network for 40 inputs, L=265, D=17. Improved size compared to Batcher and Van Voorhis merges.
Auto generated
Sorting network for 39 inputs, 263 CEs, 16 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,38),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,36),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(37,38)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,32),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(33,37),(34,36),(35,38)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,24),(17,18),(21,22),(25,33),(26,34),(27,35),(28,32),(29,37),(30,36),(31,38)]
[(0,15),(1,26),(2,25),(3,28),(4,30),(5,29),(6,27),(7,24),(8,32),(9,33),(10,34),(11,35),(12,36),(13,37),(14,31),(18,20),(19,21)]
[(0,16),(1,7),(2,3),(4,9),(5,10),(6,8),(11,12),(13,14),(24,26),(25,28),(27,32),(29,34),(30,33),(31,37),(35,36)]
[(1,2),(3,15),(4,5),(6,22),(7,16),(8,26),(9,10),(11,19),(13,27),(14,21),(17,32),(18,24),(20,28),(23,31),(29,30),(33,34),(35,38),(36,37)]
[(1,18),(3,17),(5,8),(10,26),(12,24),(13,29),(14,25),(16,20),(19,23),(21,37),(22,38),(27,33)]
[(3,7),(4,18),(5,14),(8,20),(9,12),(10,17),(11,13),(15,16),(19,27),(21,34),(22,29),(23,35),(24,33),(25,30),(26,28),(31,38)]
[(1,3),(2,7),(6,18),(8,16),(9,11),(10,14),(12,22),(13,19),(17,25),(20,26),(21,32),(23,27),(24,29),(28,30),(31,36),(37,38)]
[(5,10),(6,9),(7,15),(11,12),(13,18),(14,17),(16,20),(19,23),(21,26),(22,24),(25,28),(29,33),(30,32),(31,35)]
[(2,7),(4,5),(8,10),(9,15),(11,16),(12,17),(13,14),(18,20),(19,21),(22,25),(23,28),(24,26),(27,29),(30,31),(33,34),(35,36)]
[(2,3),(4,7),(5,9),(6,8),(10,15),(11,13),(12,18),(14,16),(17,20),(19,22),(21,25),(23,24),(26,28),(27,30),(29,32),(31,33),(34,35),(36,37)]
[(4,6),(5,7),(8,11),(9,10),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,27),(25,26),(28,29),(30,31),(32,35),(33,34)]
[(3,4),(6,7),(8,9),(10,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,25),(26,27),(28,30),(29,31),(32,33),(35,36)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34)]

Obtained by reduction of network for 40 inputs, L=269, D=16
Auto generated
Sorting network for 40 inputs, 265 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(17,20),(19,22),(24,32),(25,33),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39)]
[(0,24),(1,25),(2,26),(3,27),(4,28),(5,29),(6,30),(7,31),(8,32),(9,33),(10,34),(11,35),(12,36),(13,37),(14,38),(15,39)]
[(1,2),(3,12),(5,10),(6,9),(7,21),(8,16),(13,14),(18,32),(23,31),(25,26),(27,36),(29,34),(30,33),(37,38)]
[(3,6),(4,18),(5,25),(7,29),(9,12),(10,32),(14,34),(15,23),(16,24),(21,35),(27,30),(33,36)]
[(3,17),(8,16),(10,24),(11,21),(12,20),(15,29),(18,28),(19,27),(22,36),(23,31)]
[(0,8),(1,3),(4,16),(6,12),(7,19),(10,18),(11,13),(14,22),(17,25),(20,32),(21,29),(23,35),(26,28),(27,33),(31,39),(36,38)]
[(2,6),(4,8),(5,7),(9,19),(10,16),(12,24),(13,25),(14,26),(15,27),(20,30),(23,29),(31,35),(32,34),(33,37)]
[(1,4),(2,16),(3,5),(6,18),(9,17),(11,15),(12,14),(13,19),(20,26),(21,33),(22,30),(23,37),(24,28),(25,27),(34,36),(35,38)]
[(2,8),(3,10),(5,9),(6,12),(7,13),(11,17),(14,20),(15,21),(18,24),(19,25),(22,28),(26,32),(27,33),(29,36),(30,34),(31,37)]
[(2,4),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(20,24),(21,25),(22,26),(23,27),(28,32),(29,33),(35,37)]
[(3,4),(5,12),(7,14),(9,16),(11,20),(13,18),(15,22),(17,24),(19,28),(21,26),(23,30),(25,32),(27,34),(35,36)]
[(4,8),(5,6),(7,10),(9,12),(11,13),(14,16),(15,20),(17,18),(19,24),(21,22),(23,25),(26,28),(27,30),(29,32),(31,35),(33,34)]
[(6,8),(7,9),(10,12),(11,14),(13,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,28),(27,29),(30,32),(31,33)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34)]

Improved size compared to Batcher and Van Voorhis merges.
Auto generated
Sorting network for 40 inputs, 269 CEs, 16 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(17,18),(21,22),(24,32),(25,33),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39)]
[(0,24),(1,25),(2,26),(3,27),(4,28),(5,29),(6,30),(7,31),(8,32),(9,33),(10,34),(11,35),(12,36),(13,37),(14,38),(15,39),(18,20),(19,21)]
[(0,16),(1,4),(2,8),(3,12),(5,10),(6,9),(7,13),(11,14),(23,39),(25,28),(26,32),(27,36),(29,34),(30,33),(31,37),(35,38)]
[(1,2),(3,22),(4,24),(5,6),(7,27),(8,16),(9,10),(11,19),(12,32),(13,21),(15,35),(17,36),(18,26),(20,28),(23,31),(29,30),(33,34),(37,38)]
[(1,18),(4,17),(6,12),(7,29),(10,32),(13,25),(14,26),(16,20),(19,23),(21,38),(22,35),(27,33)]
[(4,8),(5,18),(6,13),(7,11),(9,14),(10,17),(12,20),(15,23),(16,24),(19,27),(21,34),(22,29),(25,30),(26,33),(28,32),(31,35)]
[(1,4),(2,8),(3,18),(7,9),(10,13),(11,19),(12,24),(14,22),(15,27),(17,25),(20,28),(21,36),(26,29),(30,32),(31,37),(35,38)]
[(3,7),(6,10),(8,16),(9,14),(11,18),(13,17),(15,19),(20,24),(21,28),(22,26),(23,31),(25,30),(29,33),(32,36)]
[(2,8),(5,6),(7,16),(9,20),(10,12),(11,13),(14,17),(15,21),(18,24),(19,30),(22,25),(23,32),(26,28),(27,29),(31,37),(33,34)]
[(2,4),(3,10),(5,8),(6,7),(9,11),(12,16),(13,20),(14,18),(15,22),(17,24),(19,26),(21,25),(23,27),(28,30),(29,36),(31,34),(32,33),(35,37)]
[(3,5),(6,8),(7,12),(9,10),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,32),(29,30),(31,33),(34,36)]
[(3,4),(5,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,34),(35,36)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34)]

Auto generated
Sorting network for 41 inputs, 282 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,35),(33,39),(34,37),(36,40)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,39),(34,36),(35,40),(37,38)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,34),(33,35),(36,37),(39,40)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(33,36),(35,38),(37,39)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(32,33),(34,36),(35,37),(38,40)]
[(0,32),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,40),(34,35),(36,37),(38,39)]
[(5,6),(7,13),(9,10),(11,39),(15,31),(16,32),(18,24),(21,22),(23,29),(25,26),(33,34),(35,36),(37,38)]
[(1,36),(2,33),(6,17),(10,21),(11,22),(12,37),(14,38),(15,19),(18,34),(23,25),(28,35),(30,39)]
[(1,16),(2,4),(3,28),(6,18),(8,33),(14,34),(15,36),(19,29),(26,37),(27,38),(30,35)]
[(1,2),(3,20),(7,14),(8,16),(9,28),(11,34),(12,33),(15,32),(17,26),(19,27),(22,30),(25,36),(31,38)]
[(3,4),(5,15),(7,18),(10,32),(11,20),(12,17),(13,25),(21,33),(24,34),(27,36),(31,35),(38,39)]
[(4,16),(5,6),(9,11),(10,15),(14,24),(20,28),(23,32),(25,34),(29,35)]
[(5,8),(7,10),(9,12),(11,17),(13,23),(15,21),(18,20),(19,32),(22,28),(24,25),(27,34),(29,37),(35,38)]
[(2,5),(3,8),(7,9),(12,16),(13,14),(15,18),(19,26),(20,21),(22,24),(23,33),(25,28),(29,30),(31,32),(35,37)]
[(3,5),(4,9),(6,12),(10,16),(11,13),(14,17),(19,23),(26,33),(27,29),(30,34),(32,36)]
[(4,7),(6,8),(10,12),(11,15),(13,20),(14,18),(17,21),(19,22),(23,25),(24,26),(27,31),(28,33),(29,32),(35,36)]
[(4,6),(7,8),(9,11),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,26),(27,28),(29,33),(30,31),(32,34)]
[(4,5),(6,7),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,27),(26,28),(29,30),(31,33),(34,35)]
[(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33)]

Improved size compared to Batcher and Van Voorhis merges
Auto generated
Sorting network for 41 inputs, 283 CEs, 18 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,35),(33,39),(34,37),(36,40)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,39),(34,36),(35,40),(37,38)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,34),(33,35),(36,37),(39,40)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(33,36),(35,38),(37,39)]
[(0,16),(1,17),(2,18),(3,19),(4,20),(5,21),(6,22),(7,23),(8,24),(9,25),(10,26),(11,27),(12,28),(13,29),(14,30),(15,31),(32,33),(34,36),(35,37),(38,40)]
[(0,32),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,40),(34,35),(36,37),(38,39)]
[(5,6),(7,13),(9,10),(14,39),(15,30),(17,20),(18,24),(21,22),(23,31),(25,26),(33,34),(35,36),(37,38)]
[(12,22),(14,21),(16,33),(17,35),(18,34),(19,36),(20,37),(23,29),(24,38),(30,39)]
[(3,19),(4,16),(6,24),(7,33),(8,18),(12,35),(13,34),(15,29),(17,32),(21,25),(27,37),(28,30)]
[(1,17),(3,20),(5,7),(9,13),(10,32),(11,35),(14,19),(15,36),(21,23),(27,28),(29,38),(31,37)]
[(1,4),(2,10),(3,5),(6,17),(7,14),(9,20),(11,24),(13,19),(15,33),(22,32),(23,34),(26,35),(31,39),(37,38)]
[(2,8),(6,16),(10,18),(12,17),(13,14),(15,21),(19,23),(22,27),(25,33),(26,28),(29,32),(30,35),(31,36),(38,39)]
[(2,6),(7,12),(8,16),(9,10),(11,15),(17,22),(18,20),(21,25),(24,26),(27,29),(28,34),(31,32),(35,36)]
[(2,4),(3,6),(5,16),(7,9),(10,12),(11,18),(13,17),(14,22),(15,20),(19,24),(21,27),(23,29),(25,26),(28,30),(31,33),(35,37)]
[(3,4),(5,9),(7,8),(11,13),(12,16),(14,18),(15,17),(19,21),(20,22),(23,25),(24,27),(26,29),(28,31),(30,32),(33,34),(36,37)]
[(5,6),(9,12),(10,11),(13,15),(14,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28),(29,31),(30,33),(34,35)]
[(5,7),(6,8),(9,10),(11,12),(13,14),(15,16),(17,19),(18,20),(21,22),(23,24),(25,27),(26,28),(29,30),(31,33),(32,34)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]

Auto generated
Sorting network for 41 inputs, 288 CEs, 17 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,40),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,38),(16,24),(17,25),(18,22),(19,23),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(39,40)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,34),(16,18),(17,20),(19,22),(21,24),(23,25),(26,30),(27,31),(28,32),(29,33),(35,39),(36,38),(37,40)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,26),(17,18),(19,21),(20,22),(23,24),(27,35),(28,36),(29,37),(30,34),(31,39),(32,38),(33,40)]
[(0,15),(1,28),(2,27),(3,30),(4,32),(5,31),(6,29),(7,26),(8,34),(9,35),(10,36),(11,37),(12,38),(13,39),(14,33),(16,17),(18,20),(21,23),(24,25)]
[(0,16),(1,2),(3,7),(4,9),(5,10),(6,8),(11,14),(12,13),(17,19),(20,21),(22,24),(26,30),(27,28),(29,34),(31,36),(32,35),(33,37),(38,39)]
[(1,17),(4,6),(8,9),(10,22),(13,25),(16,27),(18,20),(19,31),(21,23),(24,39),(29,32),(34,35)]
[(1,15),(2,18),(3,16),(5,19),(6,21),(8,29),(9,32),(10,28),(12,31),(13,17),(20,34),(22,36),(23,38),(24,27),(25,37),(39,40)]
[(1,3),(7,10),(8,24),(9,28),(11,23),(12,29),(13,26),(14,27),(15,16),(17,32),(18,30),(19,20),(21,22),(25,39),(31,33),(37,40)]
[(2,7),(4,19),(5,15),(6,10),(9,26),(11,12),(14,29),(16,18),(17,21),(20,24),(22,35),(23,25),(28,30),(31,34),(33,38),(36,39)]
[(2,5),(6,13),(7,16),(8,15),(9,17),(10,18),(12,20),(14,19),(21,28),(22,26),(23,31),(24,29),(25,33),(27,34),(32,36),(38,39)]
[(3,5),(4,8),(6,7),(9,16),(10,13),(11,12),(14,15),(17,21),(18,22),(19,23),(20,24),(25,29),(26,32),(27,31),(28,30),(33,34),(35,36),(37,38)]
[(2,3),(4,5),(8,10),(11,14),(12,15),(13,16),(17,18),(19,20),(21,22),(23,24),(25,27),(26,28),(30,32),(31,35),(36,37),(38,39)]
[(4,6),(5,7),(9,10),(11,13),(12,17),(14,16),(15,21),(18,19),(20,26),(22,23),(24,28),(25,30),(27,32),(29,31),(33,36),(34,37)]
[(3,4),(5,6),(7,9),(8,11),(10,13),(12,14),(15,18),(16,17),(19,21),(20,22),(23,26),(24,25),(27,29),(28,30),(31,33),(32,35),(34,36),(37,38)]
[(7,8),(9,11),(10,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,35)]
[(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]

Obtained by reduction of network for 42 inputs, L=294, D=17
Auto generated
Sorting network for 42 inputs, 291 CEs, 18 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,24),(17,25),(18,22),(19,23),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,18),(17,20),(19,22),(21,24),(23,25),(26,30),(27,31),(28,32),(29,33),(34,38),(35,39),(36,40),(37,41)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(17,18),(19,21),(20,22),(23,24),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41)]
[(0,26),(1,27),(2,28),(3,29),(4,30),(5,31),(6,32),(7,33),(8,34),(9,35),(10,36),(11,37),(12,38),(13,39),(14,40),(15,41),(16,17),(18,20),(21,23),(24,25)]
[(0,16),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,19),(20,21),(22,24),(25,41),(27,28),(29,38),(30,34),(31,36),(32,35),(33,37),(39,40)]
[(4,16),(5,6),(7,13),(9,10),(14,21),(15,24),(17,26),(18,19),(20,27),(22,23),(25,37),(28,34),(31,32),(35,36)]
[(1,17),(2,16),(3,20),(5,26),(8,19),(11,23),(12,27),(14,29),(15,36),(18,30),(21,38),(22,33),(24,40),(25,39)]
[(1,4),(3,5),(6,18),(7,26),(8,17),(9,30),(10,19),(11,32),(14,20),(15,34),(16,25),(21,27),(22,31),(23,35),(24,33),(36,38),(37,40)]
[(2,6),(9,14),(11,28),(12,18),(13,30),(16,17),(19,21),(20,22),(23,29),(24,25),(27,32),(35,39)]
[(2,8),(5,9),(6,16),(7,20),(10,17),(11,12),(13,22),(15,18),(19,28),(21,34),(23,26),(24,31),(25,35),(29,30),(32,36),(33,39)]
[(4,8),(7,11),(10,12),(13,14),(17,18),(23,24),(27,28),(29,31),(30,34),(33,37)]
[(2,4),(6,8),(9,10),(11,16),(12,20),(15,17),(18,22),(19,23),(21,29),(24,26),(25,30),(31,32),(33,35),(37,39)]
[(3,6),(5,8),(7,9),(10,16),(12,19),(13,15),(14,17),(18,21),(20,23),(22,29),(24,27),(25,31),(26,28),(32,34),(33,36),(35,38)]
[(3,4),(6,7),(8,11),(12,13),(14,19),(15,20),(17,23),(18,24),(21,26),(22,27),(28,29),(30,33),(34,35),(37,38)]
[(5,6),(7,8),(9,11),(10,12),(13,15),(14,16),(17,18),(19,20),(21,22),(23,24),(25,27),(26,28),(29,31),(30,32),(33,34),(35,36)]
[(6,7),(9,10),(11,12),(13,14),(15,16),(17,19),(18,20),(21,23),(22,24),(25,26),(27,28),(29,30),(31,32),(34,35)]
[(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33)]

Improved size compared to Batcher and Van Voorhis merges
Auto generated
Sorting network for 42 inputs, 294 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,24),(17,25),(18,22),(19,23),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,18),(17,20),(19,22),(21,24),(23,25),(26,30),(27,31),(28,32),(29,33),(34,38),(35,39),(36,40),(37,41)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(17,18),(19,21),(20,22),(23,24),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41)]
[(0,26),(1,27),(2,28),(3,29),(4,30),(5,31),(6,32),(7,33),(8,34),(9,35),(10,36),(11,37),(12,38),(13,39),(14,40),(15,41),(16,17),(18,20),(21,23),(24,25)]
[(0,16),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,19),(20,21),(22,24),(25,41),(27,28),(29,38),(30,34),(31,36),(32,35),(33,37),(39,40)]
[(1,17),(3,6),(9,12),(10,22),(14,25),(16,27),(18,20),(19,31),(21,23),(24,40),(29,32),(35,38)]
[(1,26),(2,18),(4,16),(5,19),(6,21),(9,29),(10,28),(12,32),(13,31),(14,17),(15,40),(20,35),(22,36),(23,39),(24,27),(25,37)]
[(1,4),(7,23),(8,10),(9,24),(11,27),(12,28),(13,29),(14,30),(15,25),(16,26),(17,32),(18,34),(19,20),(21,22),(31,33),(37,40)]
[(2,8),(3,19),(5,16),(6,10),(7,13),(11,29),(12,30),(15,23),(17,21),(18,26),(20,24),(22,38),(25,36),(28,34),(31,35),(33,39)]
[(2,5),(6,14),(8,18),(9,16),(10,26),(11,19),(12,17),(13,20),(15,31),(21,28),(22,30),(23,33),(24,29),(25,32),(27,35),(36,39)]
[(3,9),(4,5),(6,8),(7,13),(10,14),(11,16),(12,18),(15,19),(17,21),(20,24),(22,26),(23,29),(25,30),(27,31),(28,34),(32,38),(33,35),(36,37)]
[(2,4),(3,5),(7,11),(9,10),(13,16),(14,18),(15,20),(17,22),(19,24),(21,26),(23,27),(25,28),(30,34),(31,32),(36,38),(37,39)]
[(3,6),(5,8),(7,14),(10,12),(11,18),(13,17),(15,22),(16,21),(19,26),(20,25),(23,30),(24,28),(27,34),(29,31),(33,36),(35,38)]
[(3,4),(5,6),(7,9),(8,10),(11,13),(12,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,29),(28,30),(31,33),(32,34),(35,36),(37,38)]
[(7,8),(9,10),(11,12),(13,14),(15,17),(16,18),(19,21),(20,22),(23,25),(24,26),(27,28),(29,30),(31,32),(33,34)]
[(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35)]

Auto generated
Sorting network for 43 inputs, 303 CEs, 19 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,42),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,40),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(41,42)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,36),(16,24),(17,25),(18,26),(19,27),(28,32),(29,33),(30,34),(31,35),(37,41),(38,40),(39,42)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,28),(16,20),(17,21),(18,24),(19,25),(22,26),(23,27),(29,37),(30,38),(31,39),(32,36),(33,41),(34,40),(35,42)]
[(0,15),(1,30),(2,29),(3,32),(4,34),(5,33),(6,31),(7,28),(8,36),(9,37),(10,38),(11,39),(12,40),(13,41),(14,35),(17,20),(18,22),(21,25),(23,26),(27,42)]
[(0,16),(1,2),(3,7),(4,9),(5,10),(6,8),(11,14),(12,13),(17,18),(19,23),(20,24),(25,26),(28,32),(29,30),(31,36),(33,38),(34,37),(35,39),(40,41)]
[(4,5),(9,10),(12,14),(15,16),(18,20),(19,22),(21,24),(23,25),(27,40),(28,30),(33,34),(37,38)]
[(2,16),(7,20),(8,24),(11,21),(13,25),(14,26),(17,28),(18,29),(19,31),(22,32),(23,35)]
[(1,17),(2,7),(3,18),(5,22),(6,19),(8,16),(12,23),(13,28),(14,29),(20,30),(21,37),(24,36),(25,39),(26,41),(27,31),(35,40)]
[(3,15),(5,18),(6,17),(7,8),(9,13),(10,16),(11,19),(14,20),(23,28),(24,32),(25,37),(26,36),(27,33),(29,34),(31,35),(39,42)]
[(1,3),(2,15),(4,11),(5,7),(8,18),(9,17),(10,22),(12,27),(13,19),(16,30),(21,33),(24,29),(25,31),(26,34),(32,38),(35,37),(39,40),(41,42)]
[(2,3),(6,15),(7,8),(10,14),(11,12),(13,27),(16,29),(20,22),(21,23),(28,33),(30,32),(31,35),(36,39),(40,41)]
[(4,6),(5,15),(8,10),(12,21),(13,17),(14,18),(16,24),(19,27),(22,30),(25,28),(26,29),(31,33),(36,37),(38,39)]
[(3,4),(6,9),(7,15),(11,13),(12,17),(16,20),(19,21),(22,24),(23,27),(26,30),(29,32),(34,38),(35,36),(39,40)]
[(4,5),(6,8),(9,15),(14,16),(17,19),(18,20),(23,25),(24,26),(27,28),(33,38),(34,35),(37,39)]
[(6,7),(10,15),(11,14),(12,16),(13,18),(20,22),(21,23),(25,29),(27,30),(28,32),(31,34),(36,38)]
[(5,6),(8,11),(12,15),(13,14),(16,18),(17,20),(19,22),(21,24),(23,26),(25,27),(28,29),(30,31),(32,33),(37,38)]
[(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Obtained by reduction of network for 44 inputs, L=309, D=19
Auto generated
Sorting network for 43 inputs, 305 CEs, 17 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,42),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,40),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(41,42)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,36),(16,24),(17,25),(18,26),(19,27),(28,32),(29,33),(30,34),(31,35),(37,41),(38,40),(39,42)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,28),(16,20),(17,21),(18,24),(19,25),(22,26),(23,27),(29,37),(30,38),(31,39),(32,36),(33,41),(34,40),(35,42)]
[(0,15),(1,30),(2,29),(3,32),(4,34),(5,33),(6,31),(7,28),(8,36),(9,37),(10,38),(11,39),(12,40),(13,41),(14,35),(17,20),(18,22),(21,25),(23,26),(27,42)]
[(0,16),(1,2),(3,7),(4,9),(5,10),(6,8),(11,14),(12,13),(17,18),(19,23),(20,24),(25,26),(28,32),(29,30),(31,36),(33,38),(34,37),(35,39),(40,41)]
[(5,6),(8,10),(9,28),(12,23),(14,34),(15,16),(19,22),(20,30),(21,24),(31,33),(36,38),(39,42)]
[(3,15),(8,17),(9,20),(10,16),(11,21),(13,24),(14,25),(18,28),(19,29),(22,32),(23,34),(26,33),(27,31)]
[(1,8),(2,10),(4,11),(5,19),(6,13),(7,18),(12,17),(14,27),(16,28),(20,22),(21,23),(24,38),(25,35),(26,30),(29,36),(31,40),(32,37),(33,41)]
[(1,3),(2,9),(4,8),(6,18),(7,15),(10,20),(11,12),(13,26),(14,19),(16,22),(17,29),(21,27),(23,31),(24,28),(25,36),(30,32),(33,37),(34,40),(35,39),(41,42)]
[(2,7),(4,5),(6,9),(8,14),(10,15),(12,19),(13,16),(17,21),(18,20),(22,26),(23,25),(24,30),(27,29),(28,33),(31,35),(34,36),(37,38),(39,40)]
[(3,7),(4,10),(9,18),(11,17),(12,14),(13,15),(16,24),(19,27),(20,22),(21,23),(25,34),(26,32),(28,30),(29,31),(35,38),(39,41)]
[(2,3),(5,13),(7,10),(8,9),(11,12),(14,17),(15,18),(16,20),(19,21),(22,24),(23,27),(25,29),(26,28),(30,32),(31,37),(33,34),(35,39),(40,41)]
[(3,4),(5,8),(6,10),(9,13),(11,15),(12,14),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,32),(31,33),(34,37),(35,36),(38,40)]
[(6,7),(8,9),(10,11),(12,16),(13,15),(14,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,30),(29,31),(32,35),(33,34),(36,39)]
[(4,6),(5,7),(8,10),(9,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38)]

Obtained by reduction of network for 44 inputs, L=311, D=17
Auto generated
Sorting network for 44 inputs, 309 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,24),(17,25),(18,26),(19,27),(28,32),(29,33),(30,34),(31,35),(36,40),(37,41),(38,42),(39,43)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,20),(17,21),(18,24),(19,25),(22,26),(23,27),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41),(34,42),(35,43)]
[(0,28),(1,29),(2,30),(3,31),(4,32),(5,33),(6,34),(7,35),(8,36),(9,37),(10,38),(11,39),(12,40),(13,41),(14,42),(15,43),(17,20),(18,22),(21,25),(23,26)]
[(0,16),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,23),(20,24),(25,26),(27,43),(29,30),(31,40),(32,36),(33,38),(34,37),(35,39),(41,42)]
[(5,6),(9,10),(11,13),(15,27),(16,28),(18,20),(19,22),(21,24),(23,25),(30,32),(33,34),(37,38)]
[(2,28),(7,21),(8,20),(12,24),(13,26),(14,25),(15,41),(17,30),(18,29),(19,31),(22,36),(23,35)]
[(1,17),(2,8),(3,19),(4,18),(6,22),(11,23),(12,28),(13,29),(14,30),(15,31),(20,32),(21,37),(24,40),(25,39),(26,42),(35,41)]
[(3,17),(4,16),(6,18),(7,19),(8,12),(9,14),(10,28),(13,20),(15,33),(23,30),(24,36),(25,37),(26,40),(27,39),(29,34),(31,35)]
[(1,4),(2,16),(5,7),(6,8),(9,17),(10,22),(11,15),(12,18),(14,19),(21,33),(24,29),(25,31),(26,34),(27,41),(28,32),(35,37),(36,38),(39,42)]
[(2,4),(3,16),(7,11),(8,12),(10,13),(14,15),(20,22),(21,23),(27,40),(28,29),(30,33),(31,35),(32,36),(39,41)]
[(3,5),(6,16),(10,12),(11,21),(13,18),(14,17),(15,19),(22,32),(24,28),(25,30),(26,29),(27,37),(31,33),(38,40)]
[(3,4),(5,9),(7,14),(8,16),(11,17),(15,21),(19,23),(20,24),(22,28),(26,32),(27,35),(29,36),(34,38),(39,40)]
[(4,6),(5,10),(9,16),(13,20),(15,17),(18,24),(19,25),(23,30),(26,28),(27,34),(33,38),(37,39)]
[(5,8),(7,13),(11,20),(12,16),(14,18),(19,21),(22,24),(23,32),(25,29),(27,31),(30,36),(35,38)]
[(5,6),(7,10),(11,16),(13,14),(15,22),(17,24),(18,20),(19,26),(21,28),(23,25),(27,32),(29,30),(33,36),(37,38)]
[(7,9),(10,12),(11,13),(14,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,29),(30,32),(31,33),(34,36)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Smaller size than Batcher or Van Voorhis merges.
Auto generated
Sorting network for 44 inputs, 311 CEs, 17 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,24),(17,25),(18,26),(19,27),(28,32),(29,33),(30,34),(31,35),(36,40),(37,41),(38,42),(39,43)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,20),(17,21),(18,24),(19,25),(22,26),(23,27),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41),(34,42),(35,43)]
[(0,28),(1,29),(2,30),(3,31),(4,32),(5,33),(6,34),(7,35),(8,36),(9,37),(10,38),(11,39),(12,40),(13,41),(14,42),(15,43),(17,20),(18,22),(21,25),(23,26)]
[(0,16),(1,2),(3,12),(4,8),(5,10),(6,9),(7,11),(13,14),(17,18),(19,23),(20,24),(25,26),(27,43),(29,30),(31,40),(32,36),(33,38),(34,37),(35,39),(41,42)]
[(3,5),(9,32),(10,12),(11,34),(13,23),(15,27),(16,28),(19,22),(20,30),(21,24),(31,33),(38,40)]
[(4,16),(7,21),(9,20),(10,17),(11,25),(12,28),(14,24),(15,31),(18,32),(19,29),(22,36),(23,34),(26,33),(27,39)]
[(1,10),(2,12),(3,19),(5,14),(6,7),(8,18),(11,15),(13,17),(20,22),(21,23),(24,40),(25,35),(26,30),(28,32),(29,38),(31,41),(33,42),(36,37)]
[(1,4),(2,9),(5,18),(6,10),(7,13),(8,16),(11,19),(12,20),(14,26),(15,21),(17,29),(22,28),(23,31),(24,32),(25,38),(27,35),(30,36),(33,37),(34,41),(39,42)]
[(2,8),(3,6),(5,9),(10,11),(12,16),(13,19),(14,22),(15,17),(18,20),(21,29),(23,25),(24,30),(26,28),(27,31),(32,33),(34,38),(35,41),(37,40)]
[(3,12),(4,8),(7,15),(9,18),(11,13),(14,16),(17,23),(19,21),(20,26),(22,24),(25,34),(27,29),(28,36),(30,32),(31,40),(35,39)]
[(2,4),(6,14),(7,11),(8,12),(9,10),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,37),(31,35),(32,36),(33,34),(39,41)]
[(3,4),(5,12),(6,9),(7,16),(10,14),(11,13),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,36),(29,33),(30,32),(31,38),(34,37),(39,40)]
[(5,8),(7,12),(9,10),(11,18),(13,20),(14,16),(15,22),(17,24),(19,26),(21,28),(23,30),(25,32),(27,29),(31,36),(33,34),(35,38)]
[(4,5),(6,8),(7,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,30),(29,32),(31,33),(34,36),(35,37),(38,39)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38)]

Smaller size and depth vs Batcher or Van Voorhis merges.
Auto generated
Sorting network for 45 inputs, 324 CEs, 19 layers:

[(3,12),(4,8),(5,6),(7,11),(9,10),(13,32),(14,35),(15,18),(16,29),(17,28),(19,30),(20,24),(21,22),(23,27),(25,26),(31,34),(33,44),(36,40),(37,38),(39,43),(41,42)]
[(0,5),(1,7),(2,9),(3,4),(8,12),(10,11),(13,37),(14,36),(15,25),(16,21),(17,23),(18,26),(19,20),(22,29),(24,30),(27,28),(31,41),(32,38),(33,39),(34,42),(35,40),(43,44)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(13,33),(14,31),(15,19),(16,17),(18,27),(20,21),(22,24),(23,25),(26,30),(28,29),(32,35),(34,43),(36,37),(38,44),(39,41),(40,42)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(13,14),(15,16),(17,19),(18,20),(21,27),(22,23),(24,25),(26,28),(29,30),(31,33),(32,39),(34,36),(35,41),(37,43),(38,40),(42,44)]
[(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,15),(14,31),(16,17),(18,22),(19,26),(20,24),(21,23),(25,27),(28,29),(30,44),(32,34),(33,38),(35,36),(37,39),(40,42),(41,43)]
[(0,13),(1,4),(2,6),(3,19),(5,8),(7,10),(14,32),(16,18),(17,22),(20,21),(23,24),(25,28),(26,38),(27,29),(31,34),(35,37),(36,39),(40,41),(42,43)]
[(1,14),(2,31),(3,33),(5,35),(8,21),(9,25),(10,39),(11,27),(12,38),(13,15),(18,32),(22,34),(23,36),(28,41),(29,43)]
[(1,16),(4,18),(5,20),(6,22),(7,36),(8,37),(12,26),(17,31),(19,33),(24,39),(25,40),(27,42)]
[(2,17),(4,13),(5,15),(7,23),(8,19),(9,25),(10,24),(11,27),(14,16),(18,32),(20,35),(21,37),(22,34),(26,36),(30,39),(40,43),(42,44)]
[(1,4),(2,5),(3,13),(6,14),(7,31),(9,16),(12,15),(19,21),(23,26),(28,37),(29,34),(30,33),(38,42)]
[(2,4),(3,6),(7,18),(9,14),(11,31),(12,17),(13,20),(15,22),(16,23),(21,29),(24,38),(25,30),(27,37),(28,32),(33,41),(34,40),(42,43)]
[(3,4),(5,6),(7,13),(9,12),(10,22),(11,20),(15,28),(16,21),(23,29),(24,32),(25,35),(30,31),(37,38),(39,42),(40,41),(43,44)]
[(4,5),(6,7),(8,15),(10,25),(11,16),(13,14),(19,28),(20,21),(22,35),(23,24),(26,30),(29,32),(31,36),(34,37),(38,39),(42,43)]
[(7,12),(8,13),(10,17),(14,18),(15,19),(20,23),(21,24),(22,26),(25,28),(27,34),(30,31),(33,35),(36,37),(38,40)]
[(8,9),(10,15),(11,14),(12,13),(16,18),(17,19),(22,25),(26,28),(27,29),(30,33),(31,35),(32,34),(36,38),(37,41)]
[(6,8),(10,11),(14,15),(16,17),(18,19),(20,22),(21,26),(23,25),(24,28),(27,30),(29,33),(31,32),(34,35),(39,41)]
[(5,6),(9,10),(11,14),(13,16),(15,17),(18,20),(19,22),(21,23),(24,27),(25,26),(28,30),(29,31),(32,34),(33,36),(35,37),(41,42)]
[(7,9),(10,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,36),(35,38),(37,40)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40)]

Obtained by reduction of network for 48 inputs, L=346, D=19
Auto generated
Sorting network for 45 inputs, 325 CEs, 18 layers:

[(1,4),(2,3),(5,12),(6,7),(8,9),(10,11),(13,44),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43)]
[(1,2),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,44),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43)]
[(0,1),(5,8),(6,10),(7,9),(11,12),(13,40),(14,42),(15,41),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(43,44)]
[(0,5),(1,8),(2,6),(3,7),(4,11),(13,32),(14,34),(15,33),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(35,43),(36,40),(37,41),(38,42),(39,44)]
[(0,13),(1,36),(2,14),(3,15),(4,35),(5,32),(6,34),(7,33),(8,40),(9,37),(10,38),(11,43),(12,39),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,44)]
[(0,16),(1,3),(2,5),(4,8),(6,9),(7,10),(11,42),(12,41),(14,32),(15,36),(17,20),(18,24),(19,21),(23,29),(26,28),(27,30),(33,38),(34,37),(35,40),(39,43)]
[(1,2),(3,5),(4,22),(6,7),(9,10),(11,12),(13,16),(14,15),(25,40),(32,36),(33,34),(37,38),(41,42)]
[(1,17),(4,16),(7,21),(8,25),(10,28),(11,23),(12,29),(15,20),(18,32),(19,33),(22,35),(24,36),(26,37),(27,41),(30,42),(31,40)]
[(1,13),(2,18),(3,15),(5,24),(6,19),(7,16),(8,10),(9,26),(11,22),(12,27),(14,17),(20,32),(21,34),(23,39),(25,36),(28,38),(31,37),(33,35),(40,44),(41,43)]
[(2,3),(4,13),(5,14),(8,20),(9,17),(10,32),(11,19),(12,33),(27,35),(28,36),(30,34),(38,40),(39,42)]
[(2,4),(3,5),(6,13),(7,14),(8,18),(9,11),(12,16),(17,21),(19,28),(20,22),(25,27),(26,30),(29,35),(31,32),(34,36),(37,39),(40,44),(42,43)]
[(4,6),(7,9),(10,19),(12,15),(13,14),(16,24),(17,25),(20,26),(21,27),(22,30),(23,31),(28,33),(32,41),(36,39),(37,38),(40,42),(43,44)]
[(3,4),(5,6),(8,12),(9,13),(10,20),(11,14),(15,18),(16,17),(19,22),(21,23),(24,26),(25,28),(27,33),(29,32),(30,31),(34,37),(35,41),(36,38),(39,40),(42,43)]
[(4,5),(6,7),(8,9),(10,16),(11,15),(12,13),(14,18),(17,20),(19,25),(21,24),(22,28),(23,26),(27,30),(29,34),(31,33),(32,37),(35,36),(38,41)]
[(6,8),(9,12),(10,11),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,34),(33,37),(36,38),(40,41)]
[(5,6),(7,9),(10,12),(11,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(41,42)]
[(7,8),(9,10),(11,14),(13,15),(16,17),(18,19),(20,22),(21,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(37,38),(39,40)]
[(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Obtained by reduction of network for 48 inputs, L=347, D=18
Auto generated
Sorting network for 46 inputs, 332 CEs, 19 layers:

[(2,13),(3,12),(4,8),(5,6),(7,11),(9,10),(14,35),(15,18),(16,29),(17,28),(19,30),(20,24),(21,22),(23,27),(25,26),(31,34),(32,45),(33,44),(36,40),(37,38),(39,43),(41,42)]
[(0,5),(1,7),(2,9),(3,4),(8,12),(10,13),(14,36),(15,25),(16,21),(17,23),(18,26),(19,20),(22,29),(24,30),(27,28),(31,41),(32,37),(33,39),(34,42),(35,40),(38,45),(43,44)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,31),(15,19),(16,17),(18,27),(20,21),(22,24),(23,25),(26,30),(28,29),(32,33),(34,43),(35,38),(36,37),(39,41),(40,42),(44,45)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(14,32),(15,16),(17,19),(18,20),(21,27),(22,23),(24,25),(26,28),(29,30),(31,33),(34,36),(35,39),(37,43),(38,41),(40,44),(42,45)]
[(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(14,15),(16,17),(18,22),(19,26),(20,24),(21,23),(25,27),(28,29),(30,45),(31,32),(33,40),(34,35),(36,38),(37,39),(41,43),(42,44)]
[(0,14),(1,4),(2,6),(3,19),(5,8),(7,10),(9,13),(16,18),(17,22),(20,21),(23,24),(25,28),(26,40),(27,29),(31,34),(32,35),(36,37),(38,39),(41,42),(43,44)]
[(1,31),(2,32),(3,33),(5,36),(8,21),(9,25),(10,39),(11,27),(12,40),(13,42),(14,15),(18,34),(22,35),(23,38),(29,44)]
[(1,16),(4,18),(5,20),(6,22),(7,38),(8,37),(12,26),(13,28),(17,32),(19,33),(24,39),(25,41),(27,43)]
[(2,17),(4,14),(5,15),(7,23),(8,19),(9,25),(10,24),(11,27),(16,31),(18,34),(20,36),(21,37),(22,35),(26,38),(28,42),(30,39),(41,44),(43,45)]
[(1,4),(2,5),(3,14),(6,16),(7,32),(9,31),(12,15),(13,37),(19,21),(23,26),(29,35),(30,33),(39,42),(40,43)]
[(2,4),(3,6),(7,18),(9,16),(11,32),(12,17),(13,34),(14,20),(15,22),(21,29),(23,31),(24,40),(25,30),(27,37),(28,33),(35,41),(42,45),(43,44)]
[(3,4),(5,6),(7,14),(9,12),(10,22),(11,20),(13,15),(21,23),(24,34),(25,36),(29,31),(30,32),(33,41),(37,40),(39,43),(42,44)]
[(4,5),(6,7),(8,13),(10,25),(11,21),(14,16),(15,19),(20,23),(22,36),(24,29),(26,30),(31,34),(32,38),(35,37),(39,40),(42,43)]
[(7,12),(8,14),(10,17),(13,15),(16,18),(19,25),(20,24),(22,26),(23,29),(27,35),(28,36),(30,32),(33,39),(37,38)]
[(8,9),(10,13),(11,16),(12,14),(15,17),(18,21),(19,22),(25,26),(27,31),(28,30),(32,36),(33,37),(34,35),(38,41)]
[(6,8),(10,11),(13,16),(15,18),(17,21),(19,20),(22,24),(23,25),(26,29),(27,28),(30,31),(32,34),(35,36),(40,41)]
[(5,6),(9,10),(11,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,32),(31,33),(34,35),(36,38),(41,42)]
[(7,9),(10,12),(11,14),(13,15),(16,17),(18,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,32),(31,34),(33,35),(36,37),(38,39)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40)]

Improved size over Batcher and Van Voorhis merges. Obtained by reduction of network for 48 inputs, L=346, D=19
Auto generated
Sorting network for 46 inputs, 333 CEs, 18 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45)]
[(2,4),(3,5),(6,12),(7,13),(8,10),(9,11),(14,44),(15,45),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43)]
[(0,2),(1,3),(6,8),(7,9),(10,12),(11,13),(14,40),(15,41),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(42,44),(43,45)]
[(0,6),(1,7),(2,8),(3,9),(4,10),(5,11),(14,32),(15,33),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(34,42),(35,43),(36,40),(37,41),(38,44),(39,45)]
[(0,14),(1,15),(2,36),(3,37),(4,34),(5,35),(6,32),(7,33),(8,40),(9,41),(10,42),(11,43),(12,38),(13,39),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,45)]
[(0,16),(1,2),(3,10),(4,6),(5,8),(7,12),(9,13),(11,44),(15,36),(17,20),(18,24),(19,21),(23,29),(26,28),(27,30),(32,34),(33,38),(35,40),(37,42),(39,41)]
[(1,4),(2,6),(3,7),(5,22),(9,11),(10,12),(13,44),(14,16),(15,32),(25,40),(33,37),(34,36),(38,42),(39,43)]
[(1,17),(5,16),(7,21),(8,25),(9,23),(11,29),(12,28),(13,27),(18,34),(19,33),(20,32),(22,35),(24,36),(26,38),(30,44),(31,40)]
[(1,14),(2,20),(3,19),(4,18),(6,24),(7,16),(8,12),(9,22),(10,26),(11,13),(15,17),(21,37),(23,39),(25,36),(27,43),(28,42),(29,41),(31,38),(32,34),(33,35),(40,45)]
[(2,4),(5,14),(6,15),(8,32),(9,19),(10,17),(11,33),(12,34),(13,35),(28,36),(30,37),(39,44),(40,42),(41,43)]
[(2,5),(3,14),(4,6),(7,15),(8,18),(9,10),(11,16),(13,25),(17,21),(19,28),(22,32),(26,30),(29,35),(31,34),(36,37),(38,39),(41,44),(43,45)]
[(3,5),(7,9),(11,20),(12,19),(13,17),(14,15),(16,24),(21,25),(22,26),(23,31),(27,34),(28,33),(30,32),(37,39),(38,40),(42,43)]
[(3,4),(5,6),(8,11),(9,14),(10,15),(12,22),(13,16),(17,28),(18,20),(19,30),(21,23),(24,26),(25,33),(27,29),(31,32),(34,35),(36,38),(37,40),(41,42),(43,44)]
[(4,5),(6,7),(8,9),(10,18),(11,14),(12,13),(15,20),(16,22),(17,19),(21,24),(23,26),(25,31),(27,36),(28,30),(29,38),(32,33),(34,37),(35,40),(39,41),(42,43)]
[(6,8),(9,11),(10,12),(13,15),(16,18),(17,21),(19,23),(20,22),(24,28),(25,27),(26,30),(29,31),(32,36),(33,38),(35,37),(40,41)]
[(5,6),(7,9),(10,11),(12,14),(13,16),(15,20),(17,18),(19,24),(21,22),(23,28),(25,26),(27,32),(29,30),(31,36),(33,34),(35,38),(37,39),(41,42)]
[(7,8),(9,10),(12,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(37,38),(39,40)]
[(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Obtained by reduction of network for 48 inputs, L=347, D=18
Auto generated
Sorting network for 47 inputs, 340 CEs, 19 layers:

[(1,12),(2,13),(3,14),(4,8),(5,6),(7,11),(9,10),(15,18),(16,29),(17,28),(19,30),(20,24),(21,22),(23,27),(25,26),(31,34),(32,45),(33,44),(35,46),(36,40),(37,38),(39,43),(41,42)]
[(0,5),(1,7),(2,9),(3,4),(8,14),(10,13),(11,12),(15,25),(16,21),(17,23),(18,26),(19,20),(22,29),(24,30),(27,28),(31,41),(32,37),(33,39),(34,42),(35,36),(38,45),(40,46),(43,44)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(13,14),(15,19),(16,17),(18,27),(20,21),(22,24),(23,25),(26,30),(28,29),(31,35),(32,33),(34,43),(36,37),(38,40),(39,41),(42,46),(44,45)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,13),(15,16),(17,19),(18,20),(21,27),(22,23),(24,25),(26,28),(29,30),(31,32),(33,35),(34,36),(37,43),(38,39),(40,41),(42,44),(45,46)]
[(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,31),(16,17),(18,22),(19,26),(20,24),(21,23),(25,27),(28,29),(30,46),(32,33),(34,38),(35,42),(36,40),(37,39),(41,43),(44,45)]
[(0,15),(1,4),(2,6),(3,19),(5,8),(7,10),(9,13),(11,14),(16,18),(17,22),(20,21),(23,24),(25,28),(26,42),(27,29),(32,34),(33,38),(36,37),(39,40),(41,44),(43,45)]
[(1,32),(2,33),(3,35),(5,36),(8,21),(9,25),(10,40),(11,27),(12,42),(13,44),(14,45),(15,31),(18,34),(22,38),(23,39)]
[(1,16),(4,18),(5,20),(6,22),(7,39),(8,37),(12,26),(13,28),(17,33),(19,35),(24,40),(25,41),(27,43),(29,45)]
[(2,17),(4,15),(5,31),(7,23),(8,19),(9,25),(10,24),(11,27),(14,29),(16,32),(18,34),(20,36),(21,37),(22,38),(26,39),(28,44),(30,40),(43,46)]
[(1,4),(2,5),(3,15),(6,16),(7,33),(9,32),(12,31),(13,37),(14,38),(19,21),(23,26),(29,41),(30,35),(40,44),(42,43),(45,46)]
[(2,4),(3,6),(7,18),(9,16),(11,33),(12,17),(13,34),(14,21),(15,20),(22,31),(23,32),(24,42),(25,30),(27,37),(28,35),(29,38),(41,43),(44,45)]
[(3,4),(5,6),(7,15),(9,12),(10,31),(11,20),(13,22),(14,23),(21,32),(24,34),(25,36),(30,33),(35,38),(37,42),(40,41),(43,44)]
[(4,5),(6,7),(8,13),(10,25),(11,14),(15,16),(19,22),(20,23),(21,24),(26,30),(29,37),(31,36),(32,34),(33,39),(40,42),(41,43)]
[(7,12),(8,15),(10,17),(13,19),(16,18),(20,21),(22,25),(23,24),(26,31),(27,29),(28,36),(30,33),(35,40),(37,39)]
[(8,9),(10,13),(11,16),(12,15),(14,18),(17,19),(22,26),(25,31),(27,32),(28,30),(29,34),(33,36),(35,37),(38,39)]
[(6,8),(10,11),(13,16),(14,17),(18,19),(20,22),(21,26),(23,25),(24,31),(27,28),(29,33),(30,32),(34,36),(39,42)]
[(5,6),(9,10),(11,13),(14,15),(16,17),(18,20),(19,22),(21,23),(24,27),(25,26),(28,31),(29,30),(32,35),(33,34),(36,38),(41,42)]
[(7,9),(10,12),(11,14),(13,15),(16,18),(17,20),(19,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,40)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40)]

Improved size over Batcher and Van Voorhis merges. Obtained by reduction of network for 48 inputs, L=346, D=19
Auto generated
Sorting network for 47 inputs, 341 CEs, 18 layers:

[(1,2),(3,6),(4,5),(7,14),(8,9),(10,11),(12,13),(15,46),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45)]
[(0,1),(3,4),(5,6),(7,12),(8,10),(9,11),(13,14),(15,44),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(45,46)]
[(0,3),(1,4),(2,5),(7,8),(9,13),(10,12),(11,14),(15,40),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(41,45),(42,44),(43,46)]
[(0,7),(1,10),(2,9),(3,8),(4,12),(5,13),(6,11),(15,32),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(33,41),(34,42),(35,43),(36,40),(37,45),(38,44),(39,46)]
[(0,15),(1,34),(2,33),(3,36),(4,38),(5,37),(6,35),(7,32),(8,40),(9,41),(10,42),(11,43),(12,44),(13,45),(14,39),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30),(31,46)]
[(0,16),(1,7),(2,3),(4,9),(5,10),(6,8),(11,12),(13,14),(17,20),(18,24),(19,21),(23,29),(26,28),(27,30),(32,34),(33,36),(35,40),(37,42),(38,41),(39,45),(43,44)]
[(1,2),(3,7),(4,5),(6,22),(9,10),(11,13),(12,14),(15,16),(25,40),(32,33),(34,36),(37,38),(39,43),(41,42),(44,45)]
[(1,17),(5,21),(6,16),(8,25),(10,28),(11,23),(12,27),(13,29),(18,34),(19,37),(20,33),(22,35),(24,36),(26,41),(30,45),(31,40)]
[(1,15),(2,18),(3,20),(4,19),(5,16),(7,24),(8,10),(9,26),(11,22),(12,13),(14,30),(17,32),(21,38),(23,39),(25,36),(27,43),(28,42),(29,44),(31,41),(33,34),(35,37),(45,46)]
[(2,3),(6,15),(7,17),(8,33),(9,32),(10,34),(11,19),(12,35),(13,37),(14,38),(28,36),(30,39),(40,45),(43,44)]
[(2,6),(3,7),(4,15),(5,17),(8,18),(9,11),(12,16),(13,25),(14,26),(19,28),(21,32),(22,33),(29,37),(30,41),(31,34),(36,38),(39,43),(40,42),(44,45)]
[(4,6),(5,9),(10,19),(12,20),(13,21),(14,22),(15,17),(16,24),(23,31),(25,32),(26,33),(27,34),(28,35),(30,40),(38,41),(42,44)]
[(3,4),(6,7),(8,12),(9,15),(10,14),(11,17),(13,16),(18,20),(19,26),(21,28),(22,24),(23,25),(27,29),(30,36),(31,33),(32,35),(34,37),(38,40),(39,42),(43,44)]
[(4,6),(5,7),(8,9),(10,13),(11,18),(12,15),(14,16),(17,20),(19,21),(22,23),(24,25),(26,28),(27,30),(29,36),(31,32),(33,35),(34,38),(37,40),(39,41),(42,43)]
[(5,8),(9,12),(10,11),(13,17),(14,18),(16,20),(19,22),(21,24),(23,26),(25,28),(27,31),(29,32),(30,33),(35,36),(37,38),(40,41)]
[(5,6),(7,9),(10,12),(11,15),(13,14),(16,17),(18,19),(20,22),(21,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(41,42)]
[(7,8),(9,10),(11,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(37,38),(39,40)]
[(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Obtained by reduction of network for 48 inputs, L=347, D=18
Auto generated
Sorting network for 48 inputs, 346 CEs, 19 layers:

[(0,13),(1,12),(2,15),(3,14),(4,8),(5,6),(7,11),(9,10),(16,29),(17,28),(18,31),(19,30),(20,24),(21,22),(23,27),(25,26),(32,45),(33,44),(34,47),(35,46),(36,40),(37,38),(39,43),(41,42)]
[(0,5),(1,7),(2,9),(3,4),(6,13),(8,14),(10,15),(11,12),(16,21),(17,23),(18,25),(19,20),(22,29),(24,30),(26,31),(27,28),(32,37),(33,39),(34,41),(35,36),(38,45),(40,46),(42,47),(43,44)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,24),(23,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,40),(39,41),(42,43),(44,45),(46,47)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,14),(13,15),(16,18),(17,19),(20,26),(21,27),(22,23),(24,25),(28,30),(29,31),(32,34),(33,35),(36,42),(37,43),(38,39),(40,41),(44,46),(45,47)]
[(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,31),(16,32),(17,18),(19,28),(20,22),(21,23),(24,26),(25,27),(29,30),(33,34),(35,44),(36,38),(37,39),(40,42),(41,43),(45,46)]
[(0,16),(1,4),(2,6),(3,19),(5,8),(7,10),(9,13),(11,14),(17,20),(18,22),(21,24),(23,26),(25,29),(27,30),(28,44),(31,47),(33,36),(34,38),(37,40),(39,42),(41,45),(43,46)]
[(1,33),(2,34),(3,35),(5,37),(8,24),(9,25),(10,42),(11,27),(12,44),(13,45),(14,46),(15,31),(16,32),(20,36),(22,38),(23,39)]
[(1,17),(4,20),(5,21),(6,22),(7,39),(8,40),(12,28),(13,29),(18,34),(19,35),(25,41),(26,42),(27,43),(30,46)]
[(2,18),(4,16),(5,32),(7,23),(8,19),(9,25),(10,26),(11,27),(14,30),(15,42),(17,33),(20,36),(21,37),(22,38),(24,40),(28,39),(29,45),(31,43)]
[(1,4),(2,5),(3,16),(6,17),(7,34),(9,33),(12,32),(13,40),(14,38),(15,35),(19,24),(23,28),(30,41),(31,44),(42,45),(43,46)]
[(2,4),(3,6),(7,20),(9,17),(11,34),(12,18),(13,36),(14,24),(15,25),(16,21),(22,32),(23,33),(26,31),(27,40),(29,35),(30,38),(41,44),(43,45)]
[(3,4),(5,6),(7,16),(9,12),(10,32),(11,21),(13,22),(14,23),(15,37),(24,33),(25,34),(26,36),(31,40),(35,38),(41,42),(43,44)]
[(4,5),(6,7),(8,13),(10,15),(11,14),(16,17),(19,22),(21,23),(24,26),(25,28),(30,31),(32,37),(33,36),(34,39),(40,41),(42,43)]
[(7,12),(8,16),(10,18),(13,19),(15,22),(17,20),(21,24),(23,26),(25,32),(27,30),(28,34),(29,37),(31,39),(35,40)]
[(8,9),(10,13),(11,17),(12,16),(14,20),(15,25),(18,19),(22,32),(27,33),(28,29),(30,36),(31,35),(34,37),(38,39)]
[(6,8),(10,11),(13,17),(14,18),(15,21),(19,20),(22,23),(24,25),(26,32),(27,28),(29,33),(30,34),(36,37),(39,41)]
[(5,6),(9,10),(11,13),(14,16),(15,19),(17,18),(20,21),(22,24),(23,25),(26,27),(28,32),(29,30),(31,33),(34,36),(37,38),(41,42)]
[(7,9),(10,12),(11,14),(13,16),(15,17),(18,19),(20,22),(21,24),(23,26),(25,27),(28,29),(30,32),(31,34),(33,36),(35,37),(38,40)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40)]

Improved size over Batcher and Van Voorhis merges. Six layer prefix from three 16-sorters.
Auto generated
Sorting network for 48 inputs, 347 CEs, 18 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(40,44),(41,45),(42,46),(43,47)]
[(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(32,40),(33,41),(34,42),(35,43),(36,44),(37,45),(38,46),(39,47)]
[(0,32),(1,33),(2,34),(3,35),(4,36),(5,37),(6,38),(7,39),(8,40),(9,41),(10,42),(11,43),(12,44),(13,45),(14,46),(15,47),(17,18),(19,28),(20,24),(21,26),(22,25),(23,27),(29,30)]
[(0,16),(1,4),(2,8),(3,12),(5,10),(6,9),(7,13),(11,14),(17,20),(18,24),(19,21),(23,29),(26,28),(27,30),(31,47),(33,36),(34,40),(35,44),(37,42),(38,41),(39,45),(43,46)]
[(1,2),(3,22),(4,8),(5,6),(7,11),(9,10),(13,14),(15,31),(16,32),(25,44),(33,34),(36,40),(37,38),(39,43),(41,42),(45,46)]
[(1,17),(3,32),(6,21),(7,23),(10,28),(11,29),(12,25),(13,27),(15,44),(18,36),(19,37),(20,34),(22,35),(24,40),(26,41),(30,46)]
[(1,16),(2,18),(4,20),(5,19),(6,32),(7,22),(8,24),(9,26),(10,12),(11,13),(14,30),(15,41),(17,33),(21,38),(23,39),(25,40),(27,43),(28,42),(29,45),(31,46),(34,36),(35,37)]
[(2,4),(3,16),(7,19),(8,17),(9,33),(10,34),(11,35),(12,36),(13,37),(14,38),(28,40),(30,39),(31,44),(43,45)]
[(2,3),(4,8),(5,16),(6,17),(7,9),(10,18),(11,32),(13,25),(14,26),(15,36),(19,28),(21,33),(22,34),(29,37),(30,41),(31,42),(38,40),(39,43),(44,45)]
[(3,5),(6,7),(11,20),(12,19),(13,21),(14,22),(15,23),(16,17),(24,32),(25,33),(26,34),(27,36),(28,35),(30,31),(40,41),(42,44)]
[(3,4),(5,8),(7,16),(9,17),(10,11),(12,14),(13,24),(15,25),(18,20),(19,26),(21,28),(22,32),(23,34),(27,29),(30,38),(31,40),(33,35),(36,37),(39,42),(43,44)]
[(4,5),(6,8),(7,10),(9,18),(11,16),(12,13),(14,24),(15,22),(17,20),(19,21),(23,33),(25,32),(26,28),(27,30),(29,38),(31,36),(34,35),(37,40),(39,41),(42,43)]
[(6,7),(9,12),(10,11),(13,17),(14,18),(15,19),(20,24),(21,25),(22,26),(23,27),(28,32),(29,33),(30,34),(35,38),(36,37),(40,41)]
[(5,6),(8,10),(9,11),(12,16),(13,14),(15,18),(17,20),(19,24),(21,22),(23,28),(25,26),(27,30),(29,32),(31,35),(33,34),(36,38),(37,39),(41,42)]
[(7,8),(9,10),(12,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,35),(37,38),(39,40)]
[(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36)]

Auto generated
Sorting network for 49 inputs, 365 CEs, 21 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,20),(13,19),(14,18),(15,23),(16,22),(17,21),(24,32),(25,31),(26,30),(27,35),(28,34),(29,33),(36,48),(37,46),(38,45),(39,43),(41,47),(42,44)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11),(12,13),(14,17),(15,16),(18,21),(19,20),(22,23),(24,25),(26,29),(27,28),(30,33),(31,32),(34,35),(37,42),(38,39),(40,47),(43,45),(44,46)]
[(0,2),(1,6),(5,10),(9,11),(12,14),(13,18),(17,22),(21,23),(24,26),(25,30),(29,34),(33,35),(36,40),(37,38),(39,42),(43,44),(45,46),(47,48)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10),(12,15),(13,14),(16,18),(17,19),(20,23),(21,22),(24,27),(25,26),(28,30),(29,31),(32,35),(33,34),(40,42),(41,45),(44,47),(46,48)]
[(0,24),(1,4),(3,5),(6,8),(7,10),(11,23),(13,16),(15,17),(18,20),(19,22),(25,28),(27,29),(30,32),(31,34),(36,41),(39,44),(40,43),(42,47),(45,46)]
[(1,3),(2,5),(6,9),(8,10),(13,15),(14,17),(18,21),(20,22),(25,27),(26,29),(30,33),(32,34),(36,37),(38,41),(42,45),(43,44),(46,47)]
[(1,13),(2,3),(4,5),(6,7),(8,9),(10,22),(12,36),(14,15),(16,17),(18,19),(20,21),(26,27),(28,29),(30,31),(32,33),(35,47),(37,39),(38,40),(41,42),(45,46)]
[(0,12),(2,14),(4,6),(5,7),(9,21),(11,35),(16,18),(17,19),(23,47),(24,36),(28,30),(29,31),(34,46),(37,38),(39,40),(41,43),(42,44)]
[(3,4),(5,6),(7,8),(10,34),(12,24),(15,16),(17,18),(19,20),(22,46),(23,35),(25,37),(27,28),(29,30),(31,32),(38,39),(40,41),(42,43),(44,45)]
[(1,25),(3,15),(4,28),(5,29),(6,30),(7,31),(8,32),(13,37),(19,43),(20,48),(22,34),(26,38),(33,45),(39,40),(41,42)]
[(2,26),(4,40),(7,19),(8,20),(9,33),(13,25),(14,38),(16,28),(17,41),(18,42),(21,45),(27,39),(31,43),(32,48)]
[(3,27),(5,17),(6,18),(9,37),(10,38),(14,26),(15,39),(19,31),(20,32),(21,33),(28,44),(29,41),(30,42),(35,43),(36,40)]
[(5,13),(6,14),(8,28),(9,25),(10,26),(11,39),(15,27),(16,36),(17,29),(18,30),(20,40),(21,37),(22,38),(32,44),(33,41),(34,42),(43,46)]
[(4,16),(7,15),(8,24),(9,13),(10,14),(11,27),(17,25),(18,26),(21,29),(22,30),(23,39),(28,36),(32,40),(33,37),(34,38),(42,48)]
[(3,9),(4,12),(11,15),(13,17),(14,18),(19,27),(21,25),(22,26),(23,31),(24,28),(29,33),(30,34),(32,36),(35,39),(38,44),(43,48)]
[(1,4),(3,5),(7,13),(8,12),(11,17),(15,19),(16,24),(20,28),(23,27),(30,36),(31,35),(34,40),(39,45)]
[(2,8),(7,9),(12,16),(15,21),(19,25),(20,24),(23,29),(27,33),(28,32),(31,37),(34,36),(35,41),(39,42),(45,48)]
[(2,4),(6,12),(10,16),(14,20),(18,24),(19,21),(22,28),(23,25),(26,32),(29,30),(31,33),(35,38),(37,40),(39,44),(43,45),(46,48)]
[(6,8),(10,12),(11,14),(13,16),(15,20),(17,18),(22,24),(26,28),(27,32),(31,34),(33,36),(35,37),(38,40),(41,44),(47,48)]
[(3,6),(5,8),(7,10),(9,12),(11,13),(14,16),(15,17),(18,20),(19,22),(21,24),(23,26),(25,28),(27,29),(30,32),(33,34),(35,36),(37,38),(39,41),(42,44)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(39,40),(43,44)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 49 inputs, 370 CEs, 20 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,20),(13,19),(14,18),(15,23),(16,22),(17,21),(24,32),(25,31),(26,30),(27,35),(28,34),(29,33),(36,47),(37,43),(38,40),(39,41),(44,45),(46,48)]
[(0,2),(1,4),(3,5),(6,8),(7,10),(9,11),(12,14),(13,16),(15,17),(18,20),(19,22),(21,23),(24,26),(25,28),(27,29),(30,32),(31,34),(33,35),(36,38),(39,42),(40,48),(41,43),(44,46)]
[(0,1),(2,9),(4,7),(5,6),(10,11),(12,13),(14,21),(16,19),(17,18),(22,23),(24,25),(26,33),(28,31),(29,30),(34,35),(36,44),(37,39),(38,41),(40,45),(42,47),(43,48)]
[(1,3),(2,7),(4,9),(8,10),(13,15),(14,19),(16,21),(20,22),(25,27),(26,31),(28,33),(32,34),(36,37),(38,46),(39,44),(40,42),(45,47)]
[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(37,39),(38,40),(41,46),(42,44),(43,45),(47,48)]
[(1,2),(3,5),(6,8),(9,10),(11,35),(12,24),(13,14),(15,17),(18,20),(21,22),(25,26),(27,29),(30,32),(33,34),(37,38),(39,40),(41,44),(42,45),(43,46)]
[(0,12),(2,4),(3,6),(5,8),(7,9),(14,16),(15,18),(17,20),(19,21),(26,28),(27,30),(29,32),(31,33),(38,39),(40,43),(41,42),(44,47),(45,46)]
[(1,2),(3,4),(5,6),(7,8),(9,10),(13,14),(15,16),(17,18),(19,20),(21,22),(25,26),(27,28),(29,30),(31,32),(33,34),(40,41),(42,43),(44,45),(46,47)]
[(1,13),(2,14),(3,15),(4,28),(5,17),(6,18),(7,19),(8,32),(9,33),(10,34),(20,48),(23,47),(25,37),(26,38),(39,40),(41,42),(43,44),(45,46)]
[(1,25),(2,26),(4,36),(8,20),(11,23),(13,37),(14,38),(16,28),(21,45),(22,46),(24,40),(27,39),(29,41),(30,42),(31,43),(32,48),(35,47)]
[(0,4),(3,27),(5,29),(6,30),(7,31),(8,24),(9,21),(10,22),(12,40),(13,25),(14,26),(15,39),(16,44),(17,41),(18,42),(19,43),(20,32),(23,35),(33,45),(34,46),(47,48)]
[(5,13),(6,14),(9,37),(10,38),(11,39),(12,24),(15,27),(16,36),(17,29),(18,30),(19,31),(20,40),(21,33),(22,34),(28,44),(35,43)]
[(4,16),(7,15),(8,12),(9,25),(10,26),(11,27),(20,28),(21,37),(22,38),(23,39),(24,36),(32,44),(33,41),(34,42)]
[(4,8),(9,13),(10,14),(11,15),(12,16),(17,25),(18,26),(19,27),(20,24),(21,29),(22,30),(23,31),(28,36),(32,40),(33,37),(34,38),(35,39),(42,47)]
[(1,4),(3,9),(8,12),(13,17),(14,18),(15,19),(16,20),(21,25),(22,26),(23,27),(24,28),(29,33),(30,34),(31,35),(32,36),(38,44),(39,45),(46,47)]
[(2,8),(3,5),(6,12),(7,13),(10,16),(11,17),(14,20),(15,21),(18,24),(19,25),(22,28),(23,29),(26,32),(27,33),(30,36),(31,37),(34,40),(35,41),(39,44),(43,46)]
[(2,4),(6,8),(7,12),(9,10),(11,16),(13,14),(15,18),(17,20),(19,22),(21,24),(23,28),(25,26),(27,30),(29,32),(31,33),(34,36),(35,38),(37,40),(41,42),(43,45),(46,47)]
[(3,6),(5,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,24),(23,25),(26,28),(27,29),(30,32),(31,34),(33,36),(35,40),(39,41),(42,44),(45,46)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,21),(22,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,37),(38,40),(41,42),(43,44)]
[(19,20),(23,24),(35,36),(39,40)]

Van Voorhis type (4,4), depth optimized
Auto generated
Sorting network for 49 inputs, 371 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,48)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(40,44),(45,46),(47,48)]
[(0,16),(1,18),(2,17),(3,19),(4,20),(5,22),(6,21),(7,23),(9,10),(13,14),(24,32),(25,36),(26,34),(27,38),(28,33),(29,37),(30,35),(31,39),(41,46),(42,45),(43,48)]
[(2,10),(3,11),(5,18),(6,14),(7,15),(8,16),(9,17),(12,20),(13,21),(25,42),(27,33),(29,41),(30,44),(31,37),(35,38),(36,46),(39,48),(45,47)]
[(0,8),(1,9),(2,12),(3,20),(4,16),(5,13),(6,17),(7,19),(10,18),(11,21),(14,22),(15,23),(25,40),(27,36),(29,45),(30,42),(31,35),(34,41),(38,47),(43,44)]
[(1,8),(3,16),(4,12),(5,10),(6,9),(7,20),(11,19),(13,18),(14,17),(15,22),(24,25),(26,29),(28,40),(30,32),(31,42),(33,45),(34,38),(35,37),(36,43),(39,47),(44,46)]
[(0,24),(2,4),(3,5),(7,13),(9,12),(10,16),(11,14),(18,20),(19,21),(25,26),(27,29),(28,30),(31,33),(32,36),(34,40),(35,44),(37,46),(38,41),(39,42),(43,45)]
[(1,2),(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(21,22),(25,28),(26,30),(27,31),(29,33),(32,34),(35,38),(36,40),(37,41),(39,43),(42,44),(46,47)]
[(1,25),(2,4),(3,8),(5,6),(7,9),(10,12),(11,13),(14,16),(15,20),(17,18),(19,21),(23,47),(26,28),(27,32),(29,34),(31,36),(33,40),(35,39),(37,43),(38,45),(41,42),(44,46)]
[(2,26),(3,5),(6,8),(7,10),(9,12),(11,14),(13,16),(15,17),(18,20),(22,46),(27,28),(29,32),(30,31),(33,36),(34,35),(37,40),(38,39),(41,43),(42,45)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(44,45)]
[(3,27),(20,44),(21,45),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43)]
[(4,28),(5,29),(6,30),(7,31),(8,32),(9,33),(10,34),(11,35),(12,36),(13,37),(14,38),(15,39),(16,40),(17,41),(18,42),(19,43)]
[(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(23,31),(32,48)]
[(8,16),(9,17),(10,18),(11,19),(12,20),(13,21),(14,22),(15,23),(24,32),(25,33),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39),(40,48)]
[(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(20,24),(21,25),(22,26),(23,27),(28,32),(29,33),(30,34),(31,35),(36,40),(37,41),(38,42),(39,43),(44,48)]
[(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,45),(46,48)]
[(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Batcher O-E merge of sizes 24 and 25, optimized for depth.
Auto generated
Sorting network for 50 inputs, 376 CEs, 21 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,24),(13,22),(14,21),(15,19),(17,23),(18,20),(25,33),(26,32),(27,31),(28,36),(29,35),(30,34),(37,49),(38,47),(39,46),(40,44),(42,48),(43,45)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11),(13,18),(14,15),(16,23),(19,21),(20,22),(25,26),(27,30),(28,29),(31,34),(32,33),(35,36),(38,43),(39,40),(41,48),(44,46),(45,47)]
[(0,2),(1,6),(5,10),(9,11),(12,16),(13,14),(15,18),(19,20),(21,22),(23,24),(25,27),(26,31),(30,35),(34,36),(37,41),(38,39),(40,43),(44,45),(46,47),(48,49)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10),(16,18),(17,21),(20,23),(22,24),(25,28),(26,27),(29,31),(30,32),(33,36),(34,35),(41,43),(42,46),(45,48),(47,49)]
[(0,25),(1,4),(3,5),(6,8),(7,10),(12,17),(15,20),(16,19),(18,23),(21,22),(26,29),(28,30),(31,33),(32,35),(37,42),(40,45),(41,44),(43,48),(46,47)]
[(1,3),(2,5),(6,9),(8,10),(12,13),(14,17),(18,21),(19,20),(22,23),(26,28),(27,30),(31,34),(33,35),(37,38),(39,42),(43,46),(44,45),(47,48)]
[(2,3),(4,5),(6,7),(8,9),(11,23),(12,37),(13,15),(14,16),(17,18),(21,22),(27,28),(29,30),(31,32),(33,34),(36,48),(38,40),(39,41),(42,43),(46,47)]
[(0,12),(4,6),(5,7),(10,22),(11,36),(13,14),(15,16),(17,19),(18,20),(23,48),(29,31),(30,32),(35,47),(38,39),(40,41),(42,44),(43,45)]
[(1,13),(3,4),(5,6),(7,8),(10,35),(14,15),(16,17),(18,19),(20,21),(22,47),(23,36),(26,38),(28,29),(30,31),(32,33),(39,40),(41,42),(43,44),(45,46)]
[(1,26),(2,14),(4,29),(5,30),(6,31),(7,32),(8,49),(9,21),(13,38),(15,16),(17,18),(19,44),(20,45),(22,35),(24,33),(27,39),(34,46),(40,41),(42,43)]
[(2,27),(3,15),(4,37),(7,19),(8,24),(9,34),(13,26),(14,39),(16,41),(17,42),(18,43),(21,46),(28,40),(29,45),(32,44),(33,49)]
[(3,28),(4,12),(5,17),(6,18),(9,38),(10,39),(14,27),(15,40),(16,25),(19,32),(20,29),(21,34),(24,33),(30,42),(31,43),(36,44),(48,49)]
[(5,13),(6,14),(8,16),(9,26),(10,27),(11,40),(12,20),(15,28),(17,30),(18,31),(21,38),(22,39),(25,41),(29,37),(33,45),(34,42),(35,43),(47,48)]
[(4,8),(7,15),(9,13),(10,14),(11,28),(16,25),(17,26),(18,27),(20,29),(21,30),(22,31),(23,40),(24,41),(34,38),(35,39),(43,45)]
[(1,4),(3,9),(8,12),(11,15),(13,17),(14,18),(16,20),(19,28),(21,26),(22,27),(23,32),(24,25),(30,34),(31,35),(33,41),(36,40)]
[(2,8),(7,13),(11,17),(12,16),(15,19),(23,28),(24,29),(25,37),(32,36),(39,41),(40,46)]
[(2,4),(5,8),(6,12),(10,16),(11,13),(15,21),(19,26),(20,24),(23,30),(25,29),(28,34),(32,38),(33,37),(36,42),(40,43),(45,46)]
[(6,8),(7,10),(9,12),(14,20),(18,24),(22,25),(27,29),(31,33),(35,37),(36,39),(41,42),(44,46)]
[(3,6),(7,12),(14,16),(15,18),(17,20),(19,24),(21,22),(23,25),(26,27),(28,29),(30,31),(32,35),(33,34),(37,38),(40,41),(42,43),(44,47)]
[(3,5),(6,8),(7,9),(10,12),(11,14),(13,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,27),(28,30),(29,31),(32,33),(34,35),(36,37),(38,39),(41,42),(44,45),(46,47)]
[(3,4),(7,8),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(43,44),(47,48)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 50 inputs, 379 CEs, 20 layers:

[(0,13),(1,12),(2,15),(3,14),(4,8),(5,6),(7,11),(9,10),(16,18),(17,19),(20,28),(21,29),(22,27),(23,25),(24,26),(30,32),(31,33),(34,47),(35,46),(36,49),(37,48),(38,42),(39,40),(41,45),(43,44)]
[(0,5),(1,7),(2,9),(3,4),(6,13),(8,14),(10,15),(11,12),(16,30),(17,31),(18,32),(19,33),(20,22),(21,24),(25,28),(27,29),(34,39),(35,41),(36,43),(37,38),(40,47),(42,48),(44,49),(45,46)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,23),(22,24),(25,27),(26,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,42),(41,43),(44,45),(46,47),(48,49)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,14),(13,15),(18,30),(19,31),(20,21),(23,26),(28,29),(34,36),(35,37),(38,44),(39,45),(40,41),(42,43),(46,48),(47,49)]
[(0,20),(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,33),(16,34),(17,30),(19,32),(21,25),(22,23),(24,28),(26,27),(29,49),(35,36),(37,46),(38,40),(39,41),(42,44),(43,45),(47,48)]
[(0,16),(1,4),(2,6),(5,8),(7,10),(9,13),(11,14),(15,29),(17,18),(19,30),(20,34),(21,22),(23,25),(24,26),(27,28),(31,32),(33,49),(35,38),(36,40),(39,42),(41,44),(43,47),(45,48)]
[(1,17),(2,4),(3,6),(9,12),(11,13),(14,28),(16,20),(21,35),(22,23),(24,25),(26,27),(29,33),(32,48),(36,38),(37,40),(43,46),(45,47)]
[(1,21),(2,18),(3,5),(6,8),(7,9),(10,12),(13,27),(22,36),(23,24),(25,26),(28,48),(31,47),(37,39),(40,42),(41,43),(44,46)]
[(2,22),(3,4),(5,6),(7,8),(9,10),(11,12),(13,31),(14,26),(18,36),(23,35),(27,47),(37,38),(39,40),(41,42),(43,44),(45,46)]
[(4,38),(5,39),(6,7),(8,9),(10,44),(11,45),(12,30),(14,32),(17,35),(18,22),(19,37),(27,31),(40,41),(42,43)]
[(3,19),(5,13),(6,40),(7,23),(8,34),(9,43),(10,22),(12,24),(15,41),(17,21),(18,20),(25,37),(26,42),(27,39),(28,32),(29,31),(30,46),(36,44)]
[(2,18),(5,17),(6,14),(7,15),(8,26),(9,21),(11,25),(12,30),(19,37),(23,41),(24,38),(28,40),(31,47),(32,44),(34,42),(35,43)]
[(3,7),(4,12),(6,18),(8,20),(9,17),(13,21),(14,22),(15,23),(19,25),(24,30),(26,34),(27,35),(28,36),(29,41),(31,43),(32,40),(37,45),(42,46)]
[(3,5),(4,16),(10,18),(11,19),(12,24),(13,27),(14,28),(20,26),(21,35),(22,36),(23,29),(25,37),(30,38),(31,39),(33,45),(44,46)]
[(1,4),(7,11),(8,16),(12,20),(15,19),(23,25),(24,26),(29,37),(30,34),(33,41),(38,42),(45,48)]
[(2,4),(6,8),(7,9),(10,16),(11,13),(14,24),(15,17),(18,20),(19,21),(22,26),(23,27),(25,35),(28,30),(29,31),(32,34),(33,39),(36,38),(40,42),(41,43),(45,47)]
[(3,6),(5,7),(11,15),(12,16),(13,17),(14,18),(19,23),(20,24),(21,27),(22,28),(25,29),(26,30),(31,35),(32,36),(33,37),(34,38),(42,44),(43,46)]
[(3,4),(5,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,27),(26,28),(29,31),(30,32),(33,35),(34,36),(37,39),(38,40),(41,44),(45,46)]
[(5,6),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,38),(37,40),(39,42),(43,44)]
[(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42)]

Sorters of sizes 16/16/10/8 as prefix, evolved merge.
Auto generated
Sorting network for 50 inputs, 381 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,24),(25,27),(26,28),(29,31),(30,32),(33,35),(34,36),(37,39),(38,40),(41,43),(42,44),(45,47),(46,49)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(21,22),(23,24),(25,29),(26,30),(27,31),(28,32),(33,37),(34,38),(35,39),(36,40),(41,45),(46,47),(48,49)]
[(0,8),(1,12),(2,10),(3,14),(4,9),(5,13),(6,11),(7,15),(17,22),(18,21),(19,24),(25,33),(26,37),(27,35),(28,39),(29,34),(30,38),(31,36),(32,40),(42,47),(43,46),(44,49)]
[(1,18),(3,9),(5,17),(6,20),(7,13),(11,14),(12,22),(15,24),(21,23),(26,43),(28,34),(30,42),(31,45),(32,38),(36,39),(37,47),(40,49),(46,48)]
[(1,16),(3,12),(5,21),(6,18),(7,11),(10,17),(14,23),(19,20),(24,49),(26,41),(28,37),(30,46),(31,43),(32,36),(35,42),(39,48),(44,45)]
[(0,1),(2,5),(4,16),(6,8),(7,18),(9,21),(10,14),(11,13),(12,19),(15,23),(20,22),(25,26),(27,30),(29,41),(31,33),(32,43),(34,46),(35,39),(36,38),(37,44),(40,48),(45,47)]
[(0,25),(1,2),(3,5),(4,6),(7,9),(8,12),(10,16),(11,20),(13,22),(14,17),(15,18),(19,21),(26,27),(28,30),(29,31),(32,34),(33,37),(35,41),(36,45),(38,47),(39,42),(40,43),(44,46)]
[(1,4),(2,6),(3,7),(5,9),(8,10),(11,14),(12,16),(13,17),(15,19),(18,20),(22,23),(26,29),(27,31),(28,32),(30,34),(33,35),(36,39),(37,41),(38,42),(40,44),(43,45),(47,48)]
[(1,26),(2,4),(3,8),(5,10),(7,12),(9,16),(11,15),(13,19),(14,21),(17,18),(20,22),(23,48),(27,29),(28,33),(30,35),(32,37),(34,41),(36,40),(38,44),(39,46),(42,43),(45,47)]
[(2,27),(3,4),(5,8),(6,7),(9,12),(10,11),(13,16),(14,15),(17,19),(18,21),(22,47),(28,29),(30,33),(31,32),(34,37),(35,36),(38,41),(39,40),(42,44),(43,46)]
[(3,28),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(20,21),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(45,46)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,45),(21,46),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44)]
[(4,29),(5,30),(6,31),(7,32),(8,33),(9,34),(10,35),(11,36),(12,37),(13,38),(14,39),(15,40),(16,41),(17,42),(18,43),(19,44)]
[(16,25),(17,26),(18,27),(19,28),(20,29),(21,30),(22,31),(23,32),(24,33)]
[(8,16),(9,17),(10,18),(11,19),(12,20),(13,21),(14,22),(15,23),(24,25),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41)]
[(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(20,24),(21,26),(22,27),(23,28),(25,29),(30,34),(31,35),(32,36),(33,37),(38,42),(39,43),(40,44),(41,45)]
[(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47)]
[(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Batcher O-E merge of sizes 25 and 25, optimized for depth.
Auto generated
Sorting network for 51 inputs, 387 CEs, 22 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,24),(13,22),(14,21),(15,19),(17,23),(18,20),(25,37),(26,35),(27,34),(28,32),(30,36),(31,33),(38,50),(39,48),(40,47),(41,45),(43,49),(44,46)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11),(13,18),(14,15),(16,23),(19,21),(20,22),(26,31),(27,28),(29,36),(32,34),(33,35),(39,44),(40,41),(42,49),(45,47),(46,48)]
[(0,2),(1,6),(5,10),(9,11),(12,16),(13,14),(15,18),(19,20),(21,22),(23,24),(25,29),(26,27),(28,31),(32,33),(34,35),(36,37),(38,42),(39,40),(41,44),(45,46),(47,48),(49,50)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10),(16,18),(17,21),(20,23),(22,24),(29,31),(30,34),(33,36),(35,37),(42,44),(43,47),(46,49),(48,50)]
[(1,4),(3,5),(6,8),(7,10),(12,17),(15,20),(16,19),(18,23),(21,22),(25,30),(28,33),(29,32),(31,36),(34,35),(37,50),(38,43),(41,46),(42,45),(44,49),(47,48)]
[(1,3),(2,5),(6,9),(8,10),(12,13),(14,17),(18,21),(19,20),(22,23),(25,26),(27,30),(31,34),(32,33),(35,36),(38,39),(40,43),(44,47),(45,46),(48,49)]
[(2,3),(4,5),(6,7),(8,9),(11,23),(12,38),(13,15),(14,16),(17,18),(21,22),(26,28),(27,29),(30,31),(34,35),(36,49),(39,41),(40,42),(43,44),(47,48)]
[(4,6),(5,7),(10,22),(11,36),(12,25),(13,14),(15,16),(17,19),(18,20),(23,49),(26,27),(28,29),(30,32),(31,33),(35,48),(39,40),(41,42),(43,45),(44,46)]
[(1,13),(3,4),(5,6),(7,8),(10,35),(14,15),(16,17),(18,19),(20,21),(22,48),(23,36),(26,39),(27,28),(29,30),(31,32),(33,34),(40,41),(42,43),(44,45),(46,47)]
[(1,26),(2,14),(4,33),(7,32),(8,24),(9,21),(13,39),(15,16),(17,18),(19,45),(20,46),(22,35),(27,40),(28,29),(30,31),(34,47),(41,42),(43,44)]
[(0,29),(2,27),(3,15),(4,38),(5,30),(6,31),(7,19),(8,37),(9,34),(13,26),(14,40),(16,42),(17,43),(18,44),(20,25),(21,47),(24,50),(28,41),(32,45),(33,46)]
[(0,16),(3,28),(4,20),(5,17),(6,18),(9,39),(10,40),(14,27),(15,41),(19,32),(21,34),(24,37),(29,42),(30,43),(31,44),(33,38),(36,45),(49,50)]
[(0,12),(5,13),(6,14),(8,29),(9,26),(10,27),(11,41),(15,28),(17,30),(18,31),(21,39),(22,40),(24,42),(25,33),(34,43),(35,44),(37,46)]
[(4,12),(7,15),(9,13),(10,14),(11,28),(16,29),(17,26),(18,27),(20,25),(21,30),(22,31),(23,41),(33,38),(34,39),(35,40),(37,42),(46,48)]
[(1,4),(3,9),(8,16),(11,15),(13,17),(14,18),(19,28),(21,26),(22,27),(23,32),(24,29),(30,34),(31,35),(36,41),(42,45),(48,49)]
[(7,13),(8,20),(11,17),(15,19),(16,25),(23,28),(24,33),(29,38),(32,36),(41,47),(42,44)]
[(8,12),(15,21),(16,20),(19,26),(23,30),(24,25),(28,34),(29,33),(32,39),(36,43),(37,38),(46,47)]
[(2,8),(6,12),(10,16),(14,20),(18,24),(22,25),(27,29),(31,33),(32,34),(35,37),(38,40),(41,43),(44,46),(45,47)]
[(2,4),(3,8),(5,6),(7,10),(9,12),(11,14),(13,16),(15,20),(17,18),(19,22),(21,24),(23,27),(25,26),(28,31),(29,30),(33,35),(36,38),(37,39),(40,42),(45,46),(47,48)]
[(3,5),(6,8),(7,12),(11,16),(15,17),(18,20),(19,24),(23,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,39),(40,41),(42,43)]
[(3,4),(5,6),(7,9),(10,12),(11,13),(14,16),(17,18),(19,21),(22,24),(25,26),(27,28),(29,30),(31,32),(33,34),(36,37),(38,39),(41,42),(43,44)]
[(7,8),(11,12),(15,16),(19,20),(23,24),(35,36),(39,40)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 51 inputs, 389 CEs, 20 layers:

[(1,2),(3,49),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50)]
[(0,1),(3,48),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(49,50)]
[(0,3),(1,2),(4,40),(5,6),(7,31),(8,36),(9,10),(11,47),(12,28),(13,14),(15,43),(17,18),(19,27),(20,44),(21,22),(23,39),(24,32),(25,26),(29,30),(33,34),(37,38),(41,42),(45,46),(48,49)]
[(1,48),(2,49),(4,24),(5,41),(6,30),(7,35),(8,12),(9,37),(10,46),(11,19),(13,29),(14,42),(15,23),(16,44),(18,26),(21,45),(22,38),(25,33),(27,47),(28,36),(32,40),(39,43)]
[(0,16),(3,44),(4,8),(5,25),(6,34),(7,50),(9,13),(10,18),(11,15),(12,24),(14,22),(17,45),(19,23),(26,46),(27,39),(28,32),(29,37),(33,41),(36,40),(38,42),(43,47)]
[(1,17),(2,6),(3,32),(5,9),(7,11),(10,14),(13,25),(15,31),(16,24),(18,22),(19,50),(20,36),(26,38),(27,35),(29,33),(34,49),(37,41),(40,44),(42,46),(45,48)]
[(0,20),(2,10),(3,12),(6,18),(11,15),(14,30),(16,28),(17,25),(19,27),(21,37),(23,35),(24,32),(26,34),(31,43),(33,45),(36,40),(39,50),(41,48)]
[(0,4),(1,21),(6,26),(8,20),(10,14),(11,19),(12,28),(13,33),(15,27),(17,29),(18,38),(22,34),(23,39),(24,36),(25,45),(30,49),(32,40),(35,43),(37,41),(47,50)]
[(1,5),(3,4),(6,10),(8,16),(9,21),(14,26),(15,19),(18,22),(20,24),(25,37),(27,31),(29,33),(30,42),(32,36),(35,47),(41,45),(43,50),(46,49)]
[(3,8),(4,16),(5,13),(9,17),(10,14),(12,20),(21,25),(23,27),(24,28),(26,30),(31,39),(34,42),(37,41),(38,46),(43,47)]
[(4,8),(5,9),(10,36),(12,16),(13,17),(15,41),(18,26),(19,23),(20,24),(21,29),(22,30),(25,33),(27,31),(28,32),(34,38),(35,39),(42,46)]
[(2,28),(8,12),(9,13),(11,32),(14,18),(15,36),(16,20),(17,21),(19,40),(22,26),(23,48),(25,29),(30,34),(31,35),(33,37),(38,42),(39,43)]
[(1,12),(5,8),(7,33),(9,20),(10,28),(13,17),(14,19),(18,44),(21,25),(23,41),(26,30),(31,42),(32,37),(34,38),(39,49),(43,46)]
[(1,3),(2,12),(6,21),(7,18),(13,24),(15,25),(17,28),(19,29),(22,32),(23,34),(26,36),(27,38),(30,45),(33,44),(39,48),(49,50)]
[(2,4),(6,16),(7,20),(8,13),(10,17),(11,21),(14,24),(18,28),(23,33),(27,37),(30,40),(31,44),(34,41),(35,45),(38,43),(47,48)]
[(2,3),(6,8),(7,12),(11,16),(15,20),(19,24),(21,22),(23,25),(26,28),(27,32),(29,30),(31,36),(35,40),(39,44),(43,45),(48,49)]
[(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44)]
[(4,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,21),(22,23),(24,26),(25,27),(28,29),(30,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,47)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,22),(21,23),(24,25),(26,27),(28,30),(29,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Obtained by reduction of network for 52 inputs, L=395, D=20
Auto generated
Sorting network for 51 inputs, 396 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,24),(25,27),(26,28),(29,31),(30,32),(33,35),(34,36),(39,41),(40,42),(43,45),(44,46),(47,49),(48,50)]
[(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(21,22),(23,24),(25,29),(26,30),(27,31),(28,32),(33,39),(34,41),(35,38),(36,42),(37,40),(43,47),(44,48),(45,49),(46,50)]
[(0,8),(1,12),(2,10),(3,14),(4,9),(5,13),(6,11),(7,15),(17,22),(18,21),(19,24),(25,43),(26,44),(27,45),(28,46),(29,47),(30,48),(31,49),(32,50),(33,37),(35,39),(36,40),(38,42)]
[(1,18),(3,9),(5,17),(6,20),(7,13),(11,14),(12,22),(15,24),(21,23),(26,43),(27,35),(28,45),(29,33),(30,47),(31,39),(32,49),(34,37),(36,44),(38,41),(40,48),(42,46)]
[(1,16),(3,12),(5,21),(6,18),(7,11),(10,17),(14,23),(19,20),(25,29),(26,34),(28,38),(30,40),(31,43),(32,44),(33,36),(35,45),(37,47),(39,42),(41,49),(46,50)]
[(0,1),(2,5),(4,16),(6,8),(7,18),(9,21),(10,14),(11,13),(12,19),(15,23),(20,22),(27,29),(28,36),(30,34),(35,37),(38,40),(39,47),(41,45),(46,48)]
[(0,25),(1,2),(3,5),(4,6),(7,9),(8,12),(10,16),(11,20),(13,22),(14,17),(15,18),(19,21),(26,29),(28,33),(31,35),(32,38),(34,36),(37,43),(39,41),(40,44),(42,47),(46,49)]
[(1,4),(2,6),(3,7),(5,9),(8,10),(11,14),(12,16),(13,17),(15,19),(18,20),(22,23),(26,27),(28,31),(29,30),(32,37),(33,35),(34,39),(36,41),(38,43),(40,42),(44,47),(45,46),(48,49)]
[(1,26),(2,4),(3,8),(5,10),(7,12),(9,16),(11,15),(13,19),(14,21),(17,18),(20,22),(24,49),(27,28),(29,31),(30,35),(32,34),(36,38),(37,39),(40,45),(41,43),(44,46),(47,48)]
[(2,27),(3,4),(5,8),(6,7),(9,12),(10,11),(13,16),(14,15),(17,19),(18,21),(23,48),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(3,28),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(20,21),(22,47),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,45)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46)]
[(4,29),(5,30),(6,31),(7,32),(8,33),(9,34),(10,35),(11,36),(12,37),(13,38),(14,39),(15,40),(16,41),(17,42),(18,43),(19,44),(20,45),(21,46)]
[(16,25),(17,26),(18,27),(19,28),(20,29),(21,30),(22,31),(23,32),(24,33),(34,50)]
[(8,16),(9,17),(10,18),(11,19),(12,20),(13,21),(14,22),(15,23),(24,25),(26,34),(27,35),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41),(42,50)]
[(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(20,24),(21,26),(22,27),(23,28),(25,29),(30,34),(31,35),(32,36),(33,37),(38,42),(39,43),(40,44),(41,45),(46,50)]
[(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50)]
[(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50)]

Batcher O-E merge of sizes 25 and 26, optimized for depth.
Auto generated
Sorting network for 52 inputs, 395 CEs, 20 layers:

[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51)]
[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51)]
[(0,48),(1,2),(3,51),(4,40),(5,6),(7,31),(8,36),(9,10),(11,47),(12,28),(13,14),(15,43),(17,18),(19,27),(20,44),(21,22),(23,39),(24,32),(25,26),(29,30),(33,34),(37,38),(41,42),(45,46),(49,50)]
[(1,49),(2,50),(4,24),(5,41),(6,30),(7,35),(8,12),(9,37),(10,46),(11,19),(13,29),(14,42),(15,23),(16,44),(18,26),(21,45),(22,38),(25,33),(27,47),(28,36),(32,40),(39,43)]
[(0,16),(3,7),(4,8),(5,25),(6,34),(9,13),(10,18),(11,15),(12,24),(14,22),(17,45),(19,23),(26,46),(27,39),(28,32),(29,37),(33,41),(35,51),(36,40),(38,42),(43,47),(44,48)]
[(1,17),(2,6),(3,11),(5,9),(7,19),(10,14),(13,25),(15,31),(16,24),(18,22),(20,36),(26,38),(27,35),(29,33),(32,44),(34,50),(37,41),(40,48),(42,46),(45,49)]
[(0,20),(2,10),(6,18),(7,27),(11,15),(12,32),(14,30),(16,28),(17,25),(19,39),(21,37),(23,35),(24,44),(26,34),(31,51),(33,45),(36,40),(41,49)]
[(0,4),(1,21),(6,26),(7,11),(8,20),(10,14),(13,33),(15,27),(17,29),(18,38),(19,23),(22,34),(24,36),(25,45),(28,32),(30,50),(31,43),(37,41),(40,44),(47,51)]
[(1,5),(4,12),(6,10),(8,16),(9,21),(11,15),(14,26),(18,22),(20,24),(25,37),(27,31),(29,33),(30,42),(35,43),(36,40),(39,47),(41,45),(46,50)]
[(4,8),(5,13),(9,17),(10,14),(12,16),(19,27),(20,28),(21,25),(23,31),(24,32),(26,30),(34,42),(35,39),(37,41),(38,46),(43,47)]
[(5,9),(8,12),(10,40),(11,41),(13,17),(15,19),(16,20),(18,26),(21,29),(22,30),(23,27),(24,28),(25,33),(31,35),(32,36),(34,38),(39,43),(42,46)]
[(2,32),(7,36),(9,13),(11,40),(12,16),(14,18),(15,44),(17,21),(19,49),(20,24),(22,26),(25,29),(27,31),(30,34),(33,37),(35,39),(38,42)]
[(1,16),(3,33),(5,12),(9,24),(10,32),(13,17),(14,15),(18,48),(19,41),(21,25),(26,30),(27,42),(34,38),(35,50),(36,37),(39,46)]
[(1,4),(2,16),(3,18),(6,21),(11,25),(13,28),(15,29),(17,32),(19,34),(22,36),(23,38),(26,40),(30,45),(33,48),(35,49),(47,50)]
[(2,8),(3,24),(6,20),(7,21),(10,17),(12,13),(14,28),(18,32),(19,33),(23,37),(27,48),(30,44),(31,45),(34,41),(38,39),(43,49)]
[(2,4),(3,16),(6,12),(7,20),(11,24),(15,28),(19,25),(21,22),(23,36),(26,32),(27,40),(29,30),(31,44),(35,48),(39,45),(47,49)]
[(3,9),(7,13),(10,16),(11,17),(14,20),(15,21),(18,24),(19,26),(22,28),(23,29),(25,32),(27,33),(30,36),(31,37),(34,40),(35,41),(38,44),(42,48)]
[(3,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,22),(21,24),(23,25),(26,28),(27,30),(29,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,48)]
[(3,5),(6,8),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,21),(22,24),(23,26),(25,28),(27,29),(30,32),(31,34),(33,36),(35,38),(37,40),(39,42),(41,44),(43,45),(46,48)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

prefix of 13 4-sorters and 4 13-sorters, orthogonally arranged.
Auto generated
Sorting network for 52 inputs, 407 CEs, 19 layers:

[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51)]
[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51)]
[(0,4),(1,5),(2,6),(3,7),(8,14),(9,16),(10,13),(11,17),(12,15),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33),(34,40),(35,42),(36,39),(37,43),(38,41),(44,48),(45,49),(46,50),(47,51)]
[(0,18),(1,19),(2,20),(3,21),(4,22),(5,23),(6,24),(7,25),(8,12),(10,14),(11,15),(13,17),(26,44),(27,45),(28,46),(29,47),(30,48),(31,49),(32,50),(33,51),(34,38),(36,40),(37,41),(39,43)]
[(1,18),(2,10),(3,20),(4,8),(5,22),(6,14),(7,24),(9,12),(11,19),(13,16),(15,23),(17,21),(27,44),(28,36),(29,46),(30,34),(31,48),(32,40),(33,50),(35,38),(37,45),(39,42),(41,49),(43,47)]
[(0,4),(1,9),(3,13),(5,15),(6,18),(7,19),(8,11),(10,20),(12,22),(14,17),(16,24),(21,25),(26,30),(27,35),(29,39),(31,41),(32,44),(33,45),(34,37),(36,46),(38,48),(40,43),(42,50),(47,51)]
[(0,26),(2,4),(3,11),(5,9),(10,12),(13,15),(14,22),(16,20),(21,23),(25,51),(28,30),(29,37),(31,35),(36,38),(39,41),(40,48),(42,46),(47,49)]
[(1,4),(3,8),(6,10),(7,13),(9,11),(12,18),(14,16),(15,19),(17,22),(21,24),(27,30),(29,34),(32,36),(33,39),(35,37),(38,44),(40,42),(41,45),(43,48),(47,50)]
[(1,2),(3,6),(4,5),(7,12),(8,10),(9,14),(11,16),(13,18),(15,17),(19,22),(20,21),(23,24),(27,28),(29,32),(30,31),(33,38),(34,36),(35,40),(37,42),(39,44),(41,43),(45,48),(46,47),(49,50)]
[(1,27),(2,3),(4,6),(5,10),(7,9),(11,13),(12,14),(15,20),(16,18),(19,21),(22,23),(24,50),(28,29),(30,32),(31,36),(33,35),(37,39),(38,40),(41,46),(42,44),(45,47),(48,49)]
[(2,28),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,49),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]
[(3,29),(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(22,48),(31,33),(32,34),(35,37),(36,38),(39,41),(40,42),(43,45),(44,46)]
[(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(4,30),(5,31),(6,32),(7,33),(8,34),(9,35),(10,36),(11,37),(12,38),(13,39),(14,40),(15,41),(16,42),(17,43),(18,44),(19,45),(20,46),(21,47)]
[(16,26),(17,27),(18,28),(19,29),(20,30),(21,31),(22,32),(23,33),(24,34),(25,35)]
[(8,16),(9,17),(10,18),(11,19),(12,20),(13,21),(14,22),(15,23),(24,26),(25,27),(28,36),(29,37),(30,38),(31,39),(32,40),(33,41),(34,42),(35,43)]
[(4,8),(5,9),(6,10),(7,11),(12,16),(13,17),(14,18),(15,19),(20,24),(21,25),(22,28),(23,29),(26,30),(27,31),(32,36),(33,37),(34,38),(35,39),(40,44),(41,45),(42,46),(43,47)]
[(2,4),(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,45),(46,48),(47,49)]
[(1,2),(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50)]

Batcher O-E merge of sizes 26 and 26, optimized for depth.
Auto generated
Sorting network for 53 inputs, 411 CEs, 22 layers:

[(0,12),(1,10),(2,9),(3,7),(5,11),(6,8),(13,25),(14,23),(15,22),(16,20),(18,24),(19,21),(26,38),(27,36),(28,35),(29,33),(31,37),(32,34),(39,45),(40,50),(41,51),(42,49),(43,44),(46,52),(47,48)]
[(1,6),(2,3),(4,11),(7,9),(8,10),(14,19),(15,16),(17,24),(20,22),(21,23),(27,32),(28,29),(30,37),(33,35),(34,36),(40,41),(42,46),(43,47),(44,48),(45,49),(50,51)]
[(0,4),(1,2),(3,6),(7,8),(9,10),(11,12),(13,17),(14,15),(16,19),(20,21),(22,23),(24,25),(26,30),(27,28),(29,32),(33,34),(35,36),(37,38),(39,43),(40,42),(44,45),(46,47),(48,52),(49,51)]
[(4,6),(5,9),(8,11),(10,12),(17,19),(18,22),(21,24),(23,25),(30,32),(31,35),(34,37),(36,38),(39,40),(41,48),(42,46),(43,50),(45,49),(51,52)]
[(0,5),(3,8),(4,7),(6,11),(9,10),(13,18),(16,21),(17,20),(19,24),(22,23),(25,38),(26,31),(29,34),(30,33),(32,37),(35,36),(41,44),(43,46),(45,48),(47,50)]
[(0,1),(2,5),(6,9),(7,8),(10,11),(13,14),(15,18),(19,22),(20,21),(23,24),(26,27),(28,31),(32,35),(33,34),(36,37),(40,41),(42,43),(45,46),(48,49),(50,51)]
[(0,26),(1,3),(2,4),(5,6),(9,10),(11,24),(13,39),(14,16),(15,17),(18,19),(22,23),(27,29),(28,30),(31,32),(35,36),(40,42),(41,43),(44,45),(46,47),(48,50),(49,51)]
[(0,13),(1,2),(3,4),(5,7),(6,8),(10,23),(12,51),(14,15),(16,17),(18,20),(19,21),(26,39),(27,28),(29,30),(31,33),(32,34),(41,42),(43,46),(45,48),(49,50)]
[(1,27),(2,3),(4,5),(6,7),(8,9),(12,25),(13,26),(14,40),(15,16),(17,18),(19,20),(21,22),(28,29),(30,31),(32,33),(34,35),(37,50),(38,51),(43,44),(45,46),(47,48)]
[(1,14),(2,15),(3,4),(5,6),(7,33),(8,34),(9,35),(11,37),(16,17),(18,19),(22,52),(24,50),(25,38),(27,40),(28,41),(29,30),(31,32),(42,43),(44,45),(46,47),(48,49)]
[(2,28),(3,16),(4,43),(5,31),(6,32),(9,22),(14,27),(15,41),(17,30),(19,45),(20,46),(21,47),(24,37),(29,42),(35,52),(36,49)]
[(3,29),(4,17),(5,44),(6,19),(7,20),(8,21),(10,36),(15,28),(16,42),(18,31),(22,35),(23,49),(30,43),(32,45),(33,46),(34,47)]
[(4,13),(6,15),(8,26),(10,41),(11,42),(12,17),(16,29),(19,32),(20,33),(21,34),(23,36),(25,43),(31,48),(37,46),(38,47),(40,44)]
[(1,4),(7,16),(8,13),(9,31),(10,28),(11,29),(17,30),(18,40),(21,39),(22,44),(23,41),(24,42),(35,48),(36,45),(38,43),(47,52)]
[(2,8),(5,18),(9,27),(10,15),(11,16),(12,21),(17,26),(19,28),(20,29),(23,32),(24,33),(25,39),(30,34),(31,40),(35,44),(36,41),(37,42),(43,49),(46,47)]
[(2,4),(5,14),(12,17),(15,19),(16,20),(21,26),(23,28),(24,29),(25,30),(27,31),(32,36),(33,37),(34,39),(35,40),(42,48),(49,50)]
[(5,8),(9,14),(12,13),(17,21),(18,27),(22,31),(25,26),(30,34),(33,40),(37,44),(38,39),(43,48),(47,49),(50,52)]
[(3,9),(6,12),(10,13),(14,18),(15,17),(19,21),(22,27),(23,25),(26,28),(30,32),(31,35),(34,36),(38,41),(39,45),(49,50),(51,52)]
[(3,6),(7,14),(10,12),(11,18),(16,22),(20,27),(24,31),(25,26),(29,35),(32,33),(36,37),(38,40),(39,42),(41,44),(45,46)]
[(3,8),(7,9),(11,15),(13,14),(16,19),(17,18),(20,23),(21,22),(24,27),(28,31),(29,30),(34,35),(36,38),(37,40),(39,44),(43,45),(46,48)]
[(3,5),(6,8),(7,10),(9,12),(11,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,34),(33,35),(37,38),(39,41),(42,44),(45,46),(47,48)]
[(3,4),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(39,40),(43,44)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 53 inputs, 412 CEs, 21 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,24),(13,22),(14,21),(15,19),(17,23),(18,20),(25,38),(26,37),(27,40),(28,39),(29,33),(30,31),(32,36),(34,35),(41,49),(42,48),(43,47),(44,52),(45,51),(46,50)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11),(13,18),(14,15),(16,23),(19,21),(20,22),(25,30),(26,32),(27,34),(28,29),(31,38),(33,39),(35,40),(36,37),(41,42),(43,46),(44,45),(47,50),(48,49),(51,52)]
[(0,2),(1,6),(5,10),(9,11),(12,16),(13,14),(15,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,33),(32,34),(35,36),(37,38),(39,40),(41,43),(42,47),(46,51),(50,52)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10),(16,18),(17,21),(20,23),(22,24),(25,27),(26,28),(29,35),(30,36),(31,32),(33,34),(37,39),(38,40),(41,44),(42,43),(45,47),(46,48),(49,52),(50,51)]
[(0,25),(1,4),(3,5),(6,8),(7,10),(11,52),(12,17),(15,20),(16,19),(18,23),(21,22),(26,27),(28,37),(29,31),(30,32),(33,35),(34,36),(38,39),(42,45),(44,46),(47,49),(48,51)]
[(1,3),(2,5),(6,9),(8,10),(12,13),(14,17),(18,21),(19,20),(22,23),(26,29),(27,31),(30,33),(32,35),(34,38),(36,39),(42,44),(43,46),(47,50),(49,51)]
[(1,42),(2,3),(4,5),(6,7),(8,9),(10,51),(12,41),(13,15),(14,16),(17,18),(21,22),(23,40),(27,29),(28,31),(34,37),(36,38),(43,44),(45,46),(47,48),(49,50)]
[(0,12),(2,43),(4,6),(5,7),(9,50),(11,23),(13,14),(15,16),(17,19),(18,20),(22,39),(25,41),(28,30),(31,33),(32,34),(35,37),(40,52),(45,47),(46,48)]
[(3,4),(5,6),(7,8),(10,22),(12,25),(13,26),(14,15),(16,17),(18,19),(20,21),(23,40),(28,29),(30,31),(32,33),(34,35),(36,37),(39,51),(44,45),(46,47),(48,49)]
[(1,13),(3,44),(4,45),(5,46),(6,47),(7,48),(8,37),(14,27),(15,16),(17,18),(21,38),(22,39),(24,49),(26,42),(31,32),(33,34)]
[(2,14),(5,17),(6,18),(7,19),(8,24),(9,21),(13,26),(15,28),(16,29),(20,33),(27,43),(34,46),(35,47),(36,48),(37,49),(38,50)]
[(3,15),(4,16),(5,30),(6,31),(7,32),(8,20),(9,34),(10,35),(11,36),(14,27),(17,46),(18,47),(19,48),(21,38),(24,37),(28,44),(29,41),(33,45)]
[(4,12),(5,13),(6,14),(8,25),(9,26),(10,27),(15,28),(16,20),(17,34),(18,35),(19,36),(24,41),(29,33),(30,42),(31,43),(32,44),(37,45),(38,46),(39,47),(40,48)]
[(1,4),(7,15),(8,12),(9,13),(10,14),(11,28),(16,25),(17,30),(18,31),(19,32),(20,29),(21,42),(22,43),(23,44),(24,33),(37,41),(48,51)]
[(2,8),(3,9),(11,15),(16,20),(17,26),(18,27),(19,28),(21,30),(22,31),(23,32),(24,25),(29,33),(38,42),(39,43),(40,44),(48,49)]
[(2,4),(5,8),(12,16),(13,17),(14,18),(15,19),(20,24),(21,26),(22,27),(23,28),(25,29),(30,34),(31,35),(32,36),(33,37),(43,45),(44,50),(47,48),(49,51)]
[(6,12),(7,13),(10,16),(11,17),(14,20),(15,21),(18,24),(22,25),(26,30),(27,31),(28,32),(34,38),(35,39),(36,40),(44,47),(49,50),(51,52)]
[(6,8),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,26),(21,24),(23,30),(27,29),(28,34),(31,33),(32,38),(35,37),(36,42),(39,41),(40,46),(48,49)]
[(3,6),(7,12),(11,16),(15,17),(18,20),(19,22),(23,27),(25,26),(28,30),(29,31),(32,35),(33,34),(36,39),(37,38),(40,43),(41,42),(45,46)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(17,18),(19,21),(22,24),(23,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47)]
[(3,4),(7,8),(11,12),(15,16),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Auto generated
Sorting network for 53 inputs, 415 CEs, 20 layers:

[(3,12),(4,8),(5,6),(7,11),(9,10),(13,16),(14,28),(15,18),(17,36),(19,38),(20,32),(21,22),(23,35),(24,26),(25,27),(29,31),(30,43),(33,34),(37,40),(39,42),(41,52),(44,48),(45,46),(47,51),(49,50)]
[(0,5),(1,7),(2,9),(3,4),(8,12),(10,11),(13,21),(14,24),(15,33),(16,22),(17,23),(18,34),(19,20),(25,29),(26,28),(27,31),(30,44),(32,38),(35,36),(37,45),(39,49),(40,46),(41,47),(42,50),(43,48),(51,52)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(13,17),(14,25),(15,19),(16,32),(18,35),(20,21),(22,36),(23,33),(24,29),(26,27),(28,31),(30,39),(34,38),(37,41),(40,43),(42,51),(44,45),(46,52),(47,49),(48,50)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(13,15),(16,23),(17,19),(18,20),(21,35),(22,34),(24,26),(27,29),(30,37),(32,33),(36,38),(39,41),(40,47),(42,44),(43,49),(45,51),(46,48),(50,52)]
[(0,14),(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,30),(15,17),(16,18),(19,22),(20,32),(21,23),(25,26),(27,28),(31,52),(33,35),(34,36),(37,39),(40,42),(41,46),(43,44),(45,47),(48,50),(49,51)]
[(0,13),(1,4),(2,6),(5,8),(7,10),(9,12),(14,30),(15,16),(17,18),(20,21),(23,32),(24,25),(26,27),(28,29),(31,38),(33,34),(35,36),(37,40),(39,42),(43,45),(44,47),(48,49),(50,51)]
[(1,15),(2,4),(3,6),(7,9),(10,12),(13,14),(16,17),(18,19),(22,33),(24,37),(34,35),(36,51),(38,52),(39,40),(41,42),(46,48),(49,50)]
[(1,24),(2,25),(3,5),(6,8),(9,10),(11,12),(15,37),(16,39),(18,20),(19,21),(22,23),(28,50),(29,36),(32,33),(41,43),(42,45),(44,46),(47,48)]
[(2,16),(3,4),(5,6),(7,8),(15,24),(17,18),(19,20),(21,22),(23,32),(25,39),(28,35),(33,34),(36,51),(40,41),(42,43),(44,45),(46,47),(48,49)]
[(2,13),(3,26),(4,41),(5,42),(6,7),(8,9),(10,47),(11,48),(12,34),(16,25),(17,40),(20,21),(22,23),(24,28),(27,49),(35,50),(36,39),(43,44),(45,46)]
[(3,17),(4,18),(5,19),(6,20),(7,31),(8,22),(9,37),(12,27),(21,44),(23,46),(26,40),(29,43),(30,45),(32,47),(33,48),(34,49)]
[(5,24),(6,29),(7,21),(8,30),(9,23),(10,32),(11,33),(12,14),(17,26),(18,41),(19,42),(20,43),(22,45),(27,34),(31,44),(37,46),(38,40),(39,47)]
[(4,12),(6,16),(7,17),(8,13),(9,15),(10,25),(11,26),(14,18),(19,28),(21,31),(22,30),(27,41),(32,36),(33,38),(34,45),(35,42),(40,48),(43,51),(44,52),(46,50)]
[(1,4),(3,9),(10,16),(11,17),(12,14),(15,19),(18,27),(20,25),(23,35),(26,33),(28,37),(29,32),(34,41),(36,43),(38,40),(42,46),(48,52),(49,51)]
[(1,2),(4,8),(5,9),(13,14),(18,22),(19,24),(20,29),(21,26),(23,28),(25,32),(27,30),(31,33),(35,37),(36,39),(38,44),(47,49),(51,52)]
[(3,4),(12,13),(14,16),(15,19),(17,23),(18,20),(21,24),(22,27),(25,29),(26,31),(28,35),(30,36),(32,34),(33,37),(38,42),(39,43),(40,44),(48,51)]
[(4,8),(6,12),(7,15),(10,13),(11,19),(14,18),(16,20),(17,21),(22,25),(23,24),(26,28),(27,29),(30,32),(31,35),(33,38),(34,36),(37,42),(39,41),(40,46),(43,45),(44,50),(48,49)]
[(5,8),(7,10),(9,12),(11,14),(13,15),(16,17),(18,19),(20,23),(21,22),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,43),(41,42),(44,47),(45,46),(48,50)]
[(6,8),(7,9),(10,12),(11,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(49,50)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Obtained by reduction of network for 56 inputs, L=438, D=20
Auto generated
Sorting network for 54 inputs, 421 CEs, 20 layers:

[(0,13),(1,12),(2,15),(3,14),(4,8),(5,6),(7,11),(9,10),(16,35),(17,34),(18,37),(19,36),(20,30),(21,22),(23,33),(24,29),(25,27),(26,28),(31,32),(38,51),(39,50),(40,53),(41,52),(42,46),(43,44),(45,49),(47,48)]
[(0,5),(1,7),(2,9),(3,4),(6,13),(8,14),(10,15),(11,12),(16,21),(17,23),(18,31),(19,20),(22,35),(25,26),(27,28),(30,36),(32,37),(33,34),(38,43),(39,45),(40,47),(41,42),(44,51),(46,52),(48,53),(49,50)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,30),(23,31),(24,27),(26,29),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,46),(45,47),(48,49),(50,51),(52,53)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,14),(13,15),(16,18),(17,19),(20,32),(21,33),(22,23),(24,25),(26,27),(28,29),(30,31),(34,36),(35,37),(38,40),(39,41),(42,48),(43,49),(44,45),(46,47),(50,52),(51,53)]
[(0,38),(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,53),(16,24),(17,18),(19,34),(20,22),(21,23),(25,26),(27,28),(29,37),(30,32),(31,33),(35,36),(39,40),(41,50),(42,44),(43,45),(46,48),(47,49),(51,52)]
[(0,16),(1,4),(2,6),(5,8),(7,10),(9,13),(11,14),(15,29),(17,20),(18,22),(21,30),(23,32),(24,38),(31,35),(33,36),(37,53),(39,42),(40,44),(43,46),(45,48),(47,51),(49,52)]
[(1,39),(2,4),(3,6),(9,12),(11,13),(14,52),(16,24),(18,20),(19,22),(29,37),(31,34),(33,35),(40,42),(41,44),(47,50),(49,51)]
[(1,17),(2,40),(3,5),(6,8),(7,9),(10,12),(13,51),(18,26),(19,21),(22,30),(23,31),(27,35),(32,34),(36,52),(41,43),(44,46),(45,47),(48,50)]
[(2,18),(3,4),(5,6),(7,8),(9,10),(11,12),(13,27),(19,20),(21,22),(23,30),(26,40),(31,32),(33,34),(35,51),(41,42),(43,44),(45,46),(47,48),(49,50)]
[(2,24),(3,41),(4,42),(5,43),(6,7),(8,9),(10,48),(11,49),(12,50),(13,39),(14,40),(18,26),(19,25),(22,23),(27,35),(28,34),(29,51),(30,31),(44,45),(46,47)]
[(3,19),(4,20),(6,44),(7,45),(8,46),(9,47),(10,32),(12,28),(13,17),(15,23),(21,43),(25,41),(30,38),(33,49),(34,50),(36,40)]
[(1,3),(4,12),(6,22),(7,15),(8,30),(9,17),(10,26),(11,33),(14,32),(19,25),(20,42),(21,39),(23,45),(27,43),(28,34),(31,47),(36,44),(38,46),(41,49),(50,52)]
[(1,16),(3,13),(5,21),(6,18),(7,19),(8,24),(11,25),(12,20),(14,26),(15,23),(17,31),(22,36),(27,39),(28,42),(29,45),(30,38),(32,48),(33,41),(34,46),(35,47),(37,52),(40,50)]
[(4,16),(5,13),(10,18),(11,19),(14,22),(17,21),(20,28),(23,29),(24,30),(25,33),(31,39),(32,36),(34,42),(35,43),(37,49),(40,48)]
[(2,4),(8,16),(9,17),(12,24),(15,25),(20,30),(21,27),(23,33),(26,32),(28,38),(29,41),(36,44),(37,45),(49,51)]
[(3,8),(9,13),(12,16),(14,20),(15,17),(18,24),(19,21),(22,28),(23,27),(25,31),(26,30),(29,35),(32,34),(33,39),(36,38),(37,41),(40,44),(45,50)]
[(3,4),(6,12),(7,9),(10,16),(11,13),(14,18),(15,19),(17,21),(20,24),(22,26),(23,25),(27,31),(28,30),(29,33),(32,36),(34,38),(35,39),(37,43),(40,42),(41,47),(44,46),(49,50)]
[(5,7),(6,8),(9,11),(10,12),(13,15),(14,16),(17,19),(18,20),(21,23),(22,24),(25,27),(26,28),(29,31),(30,32),(33,35),(34,36),(37,39),(38,40),(41,43),(42,44),(45,47),(46,48)]
[(5,8),(7,10),(9,12),(11,14),(13,16),(15,18),(17,20),(19,22),(21,24),(23,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,38),(37,40),(39,42),(41,44),(43,46),(45,48)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48)]

Evolved merge, sorters of sizes 16/16/16/6 as prefix. Improved sized over Van Voorhis (4,4) merge.
Auto generated
Sorting network for 55 inputs, 432 CEs, 20 layers:

[(1,12),(2,13),(3,14),(4,8),(5,6),(7,11),(9,10),(15,18),(16,37),(17,36),(19,38),(20,32),(21,22),(23,35),(24,26),(25,27),(28,30),(29,31),(33,34),(39,42),(40,53),(41,52),(43,54),(44,48),(45,46),(47,51),(49,50)]
[(0,5),(1,7),(2,9),(3,4),(8,14),(10,13),(11,12),(15,33),(16,21),(17,23),(18,34),(19,20),(22,37),(24,28),(25,29),(26,30),(27,31),(32,38),(35,36),(39,49),(40,45),(41,47),(42,50),(43,44),(46,53),(48,54),(51,52)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(13,14),(15,19),(16,17),(18,35),(20,21),(22,32),(23,33),(24,25),(26,27),(28,29),(30,31),(34,38),(36,37),(39,43),(40,41),(42,51),(44,45),(46,48),(47,49),(50,54),(52,53)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,13),(15,16),(17,19),(18,20),(21,35),(22,23),(26,28),(27,29),(32,33),(34,36),(37,38),(39,40),(41,43),(42,44),(45,51),(46,47),(48,49),(50,52),(53,54)]
[(0,24),(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,39),(16,17),(18,22),(19,34),(20,32),(21,23),(25,28),(27,30),(31,54),(33,35),(36,37),(40,41),(42,46),(43,50),(44,48),(45,47),(49,51),(52,53)]
[(0,15),(1,4),(2,6),(5,8),(7,10),(9,13),(11,14),(16,18),(17,22),(20,21),(23,32),(24,39),(25,26),(27,28),(29,30),(31,38),(33,36),(35,37),(40,42),(41,46),(44,45),(47,48),(49,52),(51,53)]
[(1,16),(2,4),(3,6),(9,12),(11,13),(14,30),(15,24),(17,18),(19,22),(25,40),(33,34),(35,36),(37,53),(38,54),(41,42),(43,46),(49,50),(51,52)]
[(1,25),(2,26),(3,5),(6,8),(7,9),(10,12),(13,36),(14,37),(16,40),(17,41),(19,20),(21,22),(23,33),(29,52),(30,53),(32,34),(43,44),(45,46),(47,49),(48,50)]
[(2,17),(3,4),(5,6),(7,8),(9,10),(11,12),(13,29),(16,25),(18,19),(20,21),(22,23),(26,41),(30,37),(32,33),(34,35),(36,52),(42,43),(44,45),(46,47),(48,49),(50,51)]
[(2,15),(3,27),(4,43),(5,44),(6,7),(8,9),(10,49),(11,50),(12,35),(13,25),(17,26),(18,42),(21,22),(23,32),(28,51),(29,36),(30,41),(45,46),(47,48),(52,54)]
[(3,18),(4,19),(5,20),(6,21),(7,31),(8,23),(9,40),(12,28),(14,45),(22,46),(27,42),(32,48),(33,49),(34,50),(35,51),(39,47)]
[(5,13),(6,14),(7,22),(8,39),(9,32),(10,33),(11,34),(12,24),(18,27),(19,43),(20,44),(21,45),(23,47),(28,35),(31,46),(38,42),(40,48),(41,49)]
[(4,12),(6,17),(7,18),(8,15),(9,16),(10,26),(11,27),(19,24),(20,25),(22,31),(23,39),(28,43),(29,44),(30,33),(34,38),(35,47),(36,48),(37,45),(42,50),(46,52)]
[(1,4),(3,9),(10,17),(11,18),(12,19),(14,30),(16,20),(21,26),(24,28),(25,40),(27,34),(29,32),(33,37),(35,43),(36,44),(38,42),(45,51),(50,53)]
[(1,2),(4,8),(5,9),(13,20),(14,21),(15,19),(22,27),(23,24),(25,29),(26,30),(28,39),(31,34),(32,40),(33,41),(38,46),(45,49),(50,52),(53,54)]
[(3,4),(12,15),(13,16),(14,23),(17,19),(18,25),(20,22),(21,26),(24,28),(27,31),(29,32),(30,35),(33,39),(34,40),(36,38),(37,41),(42,46),(51,52)]
[(4,8),(6,12),(7,13),(10,15),(11,16),(14,17),(18,20),(19,23),(21,24),(22,25),(26,28),(27,29),(30,33),(31,32),(34,36),(35,39),(37,43),(38,40),(41,47),(42,44),(46,48),(50,51)]
[(5,8),(7,10),(9,12),(11,14),(13,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,35),(33,34),(36,39),(37,38),(40,43),(41,42),(44,47),(45,46),(49,50)]
[(6,8),(7,9),(10,12),(11,13),(14,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50)]

Obtained by reduction of network for 56 inputs, L=438, D=20. Improved sized over Van Voorhis (4,4) merge.
Auto generated
Sorting network for 56 inputs, 438 CEs, 20 layers:

[(0,13),(1,12),(2,15),(3,14),(4,8),(5,6),(7,11),(9,10),(16,37),(17,36),(18,39),(19,38),(20,32),(21,22),(23,35),(24,26),(25,27),(28,30),(29,31),(33,34),(40,53),(41,52),(42,55),(43,54),(44,48),(45,46),(47,51),(49,50)]
[(0,5),(1,7),(2,9),(3,4),(6,13),(8,14),(10,15),(11,12),(16,21),(17,23),(18,33),(19,20),(22,37),(24,28),(25,29),(26,30),(27,31),(32,38),(34,39),(35,36),(40,45),(41,47),(42,49),(43,44),(46,53),(48,54),(50,55),(51,52)]
[(0,1),(2,3),(4,5),(6,8),(7,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,32),(23,33),(24,25),(26,27),(28,29),(30,31),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,48),(47,49),(50,51),(52,53),(54,55)]
[(0,2),(1,3),(4,10),(5,11),(6,7),(8,9),(12,14),(13,15),(16,18),(17,19),(20,34),(21,35),(22,23),(26,28),(27,29),(32,33),(36,38),(37,39),(40,42),(41,43),(44,50),(45,51),(46,47),(48,49),(52,54),(53,55)]
[(0,24),(1,2),(3,12),(4,6),(5,7),(8,10),(9,11),(13,14),(15,39),(16,40),(17,18),(19,36),(20,22),(21,23),(25,28),(27,30),(31,55),(32,34),(33,35),(37,38),(41,42),(43,52),(44,46),(45,47),(48,50),(49,51),(53,54)]
[(0,16),(1,4),(2,6),(5,8),(7,10),(9,13),(11,14),(15,31),(17,20),(18,22),(21,32),(23,34),(24,40),(25,26),(27,28),(29,30),(33,37),(35,38),(39,55),(41,44),(42,46),(45,48),(47,50),(49,53),(51,54)]
[(1,17),(2,4),(3,6),(9,12),(11,13),(14,30),(16,24),(18,20),(19,22),(25,41),(31,39),(33,36),(35,37),(38,54),(42,44),(43,46),(49,52),(51,53)]
[(1,25),(2,26),(3,5),(6,8),(7,9),(10,12),(13,37),(14,38),(17,41),(18,42),(19,21),(22,32),(23,33),(29,53),(30,54),(34,36),(43,45),(46,48),(47,49),(50,52)]
[(2,18),(3,4),(5,6),(7,8),(9,10),(11,12),(13,29),(17,25),(19,20),(21,22),(23,32),(26,42),(30,38),(33,34),(35,36),(37,53),(43,44),(45,46),(47,48),(49,50),(51,52)]
[(2,16),(3,27),(4,44),(5,45),(6,7),(8,9),(10,50),(11,51),(12,36),(13,25),(18,26),(19,43),(22,23),(28,52),(29,37),(30,42),(32,33),(39,53),(46,47),(48,49)]
[(3,19),(4,20),(5,21),(6,22),(7,15),(8,32),(9,41),(12,28),(14,46),(23,47),(27,43),(33,49),(34,50),(35,51),(36,52),(40,48)]
[(5,13),(6,14),(7,23),(8,40),(9,33),(10,34),(11,35),(12,24),(15,47),(19,27),(20,44),(21,45),(22,46),(28,36),(31,43),(32,48),(41,49),(42,50)]
[(4,12),(6,18),(7,19),(8,16),(9,17),(10,26),(11,27),(15,23),(20,24),(21,25),(28,44),(29,45),(30,34),(31,35),(32,40),(36,48),(37,49),(38,46),(39,47),(43,51)]
[(1,4),(3,9),(10,18),(11,19),(12,20),(14,30),(17,21),(22,26),(24,28),(25,41),(27,31),(29,33),(34,38),(35,43),(36,44),(37,45),(46,52),(51,54)]
[(1,2),(4,8),(5,9),(13,21),(14,22),(15,27),(16,20),(23,31),(24,32),(25,29),(26,30),(28,40),(33,41),(34,42),(35,39),(46,50),(47,51),(53,54)]
[(3,4),(12,16),(13,17),(14,24),(15,21),(18,20),(19,25),(22,26),(23,27),(28,32),(29,33),(30,36),(31,41),(34,40),(35,37),(38,42),(39,43),(51,52)]
[(4,8),(6,12),(7,13),(10,16),(11,17),(14,18),(15,19),(20,24),(21,25),(22,28),(23,29),(26,32),(27,33),(30,34),(31,35),(36,40),(37,41),(38,44),(39,45),(42,48),(43,49),(47,51)]
[(5,8),(7,10),(9,12),(11,14),(13,16),(15,20),(17,18),(19,22),(21,24),(23,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,40),(37,38),(39,42),(41,44),(43,46),(45,48),(47,50)]
[(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,45),(46,48),(47,49)]
[(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50)]

Evolved merge, sorters of sizes 16/16/16/8 as prefix. Improved sized over Van Voorhis (4,4) merge.
Auto generated
Sorting network for 57 inputs, 454 CEs, 21 layers:

[(0,8),(1,7),(2,6),(3,11),(4,10),(5,9),(12,24),(13,22),(14,21),(15,19),(17,23),(18,20),(25,38),(26,37),(27,40),(28,39),(29,33),(30,31),(32,36),(34,35),(41,54),(42,53),(43,56),(44,55),(45,49),(46,47),(48,52),(50,51)]
[(0,1),(2,5),(3,4),(6,9),(7,8),(10,11),(13,18),(14,15),(16,23),(19,21),(20,22),(25,30),(26,32),(27,34),(28,29),(31,38),(33,39),(35,40),(36,37),(41,46),(42,48),(43,50),(44,45),(47,54),(49,55),(51,56),(52,53)]
[(0,2),(1,6),(5,10),(9,11),(12,16),(13,14),(15,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,33),(32,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,49),(48,50),(51,52),(53,54),(55,56)]
[(0,3),(1,2),(4,6),(5,7),(8,11),(9,10),(16,18),(17,21),(20,23),(22,24),(25,27),(26,28),(29,35),(30,36),(31,32),(33,34),(37,39),(38,40),(41,43),(42,44),(45,51),(46,52),(47,48),(49,50),(53,55),(54,56)]
[(1,4),(3,5),(6,8),(7,10),(12,17),(15,20),(16,19),(18,23),(21,22),(26,27),(28,37),(29,31),(30,32),(33,35),(34,36),(38,39),(40,56),(42,43),(44,53),(45,47),(46,48),(49,51),(50,52),(54,55)]
[(1,3),(2,5),(6,9),(8,10),(12,13),(14,17),(18,21),(19,20),(22,23),(26,29),(27,31),(30,33),(32,35),(34,38),(36,39),(42,45),(43,47),(46,49),(48,51),(50,54),(52,55)]
[(1,26),(2,3),(4,5),(6,7),(8,9),(11,23),(12,41),(13,15),(14,16),(17,18),(21,22),(27,29),(28,31),(34,37),(36,38),(39,55),(43,45),(44,47),(50,53),(52,54)]
[(2,27),(4,6),(5,7),(10,22),(12,25),(13,14),(15,16),(17,19),(18,20),(23,56),(28,30),(31,33),(32,34),(35,37),(38,54),(44,46),(47,49),(48,50),(51,53)]
[(3,4),(5,6),(7,8),(13,42),(14,15),(16,17),(18,19),(20,21),(22,55),(28,29),(30,31),(32,33),(34,35),(36,37),(44,45),(46,47),(48,49),(50,51),(52,53)]
[(0,29),(1,13),(3,28),(7,19),(8,24),(9,21),(14,43),(15,16),(17,18),(26,42),(30,46),(31,32),(33,34),(35,51),(36,52),(37,53),(47,48),(49,50)]
[(2,14),(4,33),(5,17),(6,18),(8,37),(10,51),(11,52),(13,26),(15,44),(16,45),(19,40),(20,49),(21,54),(24,53),(27,43),(31,47),(32,48),(34,50)]
[(0,16),(3,15),(4,41),(5,30),(6,31),(7,32),(9,50),(10,35),(11,36),(14,27),(17,38),(18,39),(20,25),(23,40),(24,37),(28,44),(29,45),(33,49)]
[(0,12),(4,20),(5,13),(6,14),(8,29),(9,34),(10,27),(15,28),(21,38),(22,39),(24,45),(30,46),(31,47),(32,48),(33,41),(35,43),(36,44),(37,49),(40,52)]
[(4,12),(7,15),(9,26),(10,14),(11,28),(16,29),(17,30),(18,31),(19,32),(21,46),(22,47),(23,48),(25,33),(27,35),(34,42),(37,45),(38,50),(39,51),(40,44),(52,55)]
[(1,4),(8,16),(9,13),(11,15),(18,27),(20,25),(21,30),(22,31),(23,32),(24,29),(26,34),(28,36),(33,41),(38,42),(39,43),(44,48),(51,53)]
[(3,9),(8,20),(14,18),(16,25),(17,26),(19,28),(21,34),(22,35),(23,36),(24,33),(29,41),(30,38),(31,39),(32,40),(42,46),(43,47),(48,54),(53,55)]
[(8,12),(13,17),(15,19),(16,20),(21,26),(22,27),(23,28),(24,25),(29,33),(30,34),(31,35),(32,36),(37,41),(38,42),(39,43),(40,44),(47,49),(48,51),(53,54),(55,56)]
[(2,8),(6,12),(7,13),(10,16),(11,17),(14,20),(15,21),(18,24),(19,26),(22,25),(23,30),(27,29),(28,34),(31,33),(32,38),(35,37),(36,42),(39,41),(40,46),(43,45),(44,50),(52,53)]
[(2,4),(3,8),(5,6),(7,10),(9,12),(11,14),(13,16),(15,20),(17,18),(19,21),(22,24),(23,27),(25,26),(28,31),(29,30),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,47),(45,46),(49,50),(53,54)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,22),(21,24),(23,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,42),(41,43),(44,45),(46,47),(48,49),(50,51)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52)]

Van Voorhis type (4,4), sorter sizes 12/13/16/16
Auto generated
Sorting network for 57 inputs, 461 CEs, 20 layers:

[(0,3),(1,7),(2,5),(4,8),(9,14),(10,13),(11,21),(12,22),(15,16),(17,18),(19,24),(20,23),(25,30),(26,29),(27,37),(28,38),(31,32),(33,34),(35,40),(36,39),(41,46),(42,45),(43,53),(44,54),(47,48),(49,50),(51,56),(52,55)]
[(0,7),(2,4),(3,8),(5,6),(9,11),(10,19),(12,15),(13,16),(14,23),(17,20),(18,21),(22,24),(25,27),(26,35),(28,31),(29,32),(30,39),(33,36),(34,37),(38,40),(41,43),(42,51),(44,47),(45,48),(46,55),(49,52),(50,53),(54,56)]
[(0,2),(1,3),(4,5),(7,8),(9,17),(10,12),(11,20),(13,22),(14,18),(15,19),(16,24),(21,23),(25,33),(26,28),(27,36),(29,38),(30,34),(31,35),(32,40),(37,39),(41,49),(42,44),(43,52),(45,54),(46,50),(47,51),(48,56),(53,55)]
[(1,4),(3,6),(5,7),(9,10),(11,13),(12,17),(14,15),(16,21),(18,19),(20,22),(23,24),(25,26),(27,29),(28,33),(30,31),(32,37),(34,35),(36,38),(39,40),(41,42),(43,45),(44,49),(46,47),(48,53),(50,51),(52,54),(55,56)]
[(0,1),(2,4),(3,5),(6,8),(9,41),(10,12),(11,14),(13,17),(15,18),(16,20),(19,22),(21,23),(24,56),(26,28),(27,30),(29,33),(31,34),(32,36),(35,38),(37,39),(42,44),(43,46),(45,49),(47,50),(48,52),(51,54),(53,55)]
[(0,25),(2,3),(4,5),(6,7),(10,11),(12,14),(13,20),(15,17),(16,18),(19,21),(22,23),(26,27),(28,30),(29,36),(31,33),(32,34),(35,37),(38,39),(42,43),(44,46),(45,52),(47,49),(48,50),(51,53),(54,55)]
[(0,9),(1,2),(3,4),(5,6),(7,40),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,55),(25,41),(26,42),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54)]
[(1,10),(2,11),(5,38),(6,39),(7,24),(9,25),(13,15),(14,16),(17,19),(18,20),(22,54),(27,43),(29,31),(30,32),(33,35),(34,36),(40,56),(45,47),(46,48),(49,51),(50,52)]
[(5,22),(6,23),(12,13),(14,15),(16,17),(18,19),(20,21),(24,40),(28,29),(30,31),(32,33),(34,35),(36,37),(38,54),(39,55),(44,45),(46,47),(48,49),(50,51),(52,53)]
[(1,46),(2,47),(3,12),(4,13),(8,17),(10,18),(11,19),(14,30),(15,31),(16,32),(22,38),(23,39),(28,44),(29,45),(33,49),(34,50),(35,51),(36,52),(37,53)]
[(1,26),(2,27),(3,48),(4,29),(5,14),(6,15),(7,16),(8,33),(10,42),(11,43),(12,20),(13,45),(17,49),(18,34),(19,35),(21,53),(30,46),(31,47)]
[(3,28),(4,9),(5,26),(6,27),(8,25),(12,44),(13,29),(14,30),(15,31),(17,33),(18,42),(19,43),(20,36),(21,37),(22,46),(23,47),(32,48),(34,50),(35,51),(49,53)]
[(1,4),(7,28),(8,9),(10,14),(11,15),(16,32),(17,41),(18,26),(19,27),(20,44),(21,29),(22,30),(23,31),(24,48),(34,42),(35,43),(36,52),(37,45),(38,50),(39,51)]
[(2,8),(10,18),(11,19),(12,16),(13,17),(14,26),(15,27),(20,28),(21,25),(22,34),(23,35),(24,32),(29,41),(30,42),(31,43),(33,37),(36,44),(38,46),(39,47),(40,52),(45,49),(51,53)]
[(2,4),(5,10),(6,11),(12,20),(13,21),(14,18),(15,19),(16,28),(17,25),(22,26),(23,27),(24,36),(29,33),(30,34),(31,35),(32,44),(37,41),(38,42),(39,43),(40,48),(47,49),(52,55),(53,56)]
[(3,10),(5,8),(7,12),(9,13),(16,20),(17,21),(24,28),(25,29),(32,36),(33,37),(40,44),(41,45),(48,54),(53,55)]
[(3,8),(6,9),(7,14),(11,13),(12,18),(15,17),(16,22),(19,21),(20,26),(23,25),(24,30),(27,29),(28,34),(31,33),(32,38),(35,37),(36,42),(39,41),(40,46),(43,45),(44,50),(48,49),(53,54)]
[(3,6),(7,9),(10,11),(12,14),(13,15),(16,19),(17,18),(20,23),(21,22),(24,27),(25,26),(28,30),(29,31),(32,35),(33,34),(36,39),(37,38),(40,43),(41,42),(44,47),(45,46),(50,51),(52,54)]
[(3,5),(6,8),(7,10),(9,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,50),(49,51),(52,53)]
[(3,4),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52)]

Van Voorhis type (4,4) with initial sorter sizes 9/16/16/16
Auto generated
Sorting network for 58 inputs, 465 CEs, 21 layers:

[(0,8),(1,9),(2,7),(3,5),(4,6),(10,23),(11,22),(12,25),(13,24),(14,18),(15,16),(17,21),(19,20),(26,39),(27,38),(28,41),(29,40),(30,34),(31,32),(33,37),(35,36),(42,55),(43,54),(44,57),(45,56),(46,50),(47,48),(49,53),(51,52)]
[(0,2),(1,4),(5,8),(7,9),(10,15),(11,17),(12,19),(13,14),(16,23),(18,24),(20,25),(21,22),(26,31),(27,33),(28,35),(29,30),(32,39),(34,40),(36,41),(37,38),(42,47),(43,49),(44,51),(45,46),(48,55),(50,56),(52,57),(53,54)]
[(0,3),(2,4),(5,7),(6,9),(10,11),(12,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,50),(49,51),(52,53),(54,55),(56,57)]
[(0,1),(3,6),(8,9),(10,12),(11,13),(14,20),(15,21),(16,17),(18,19),(22,24),(23,25),(26,28),(27,29),(30,36),(31,37),(32,33),(34,35),(38,40),(39,41),(42,44),(43,45),(46,52),(47,53),(48,49),(50,51),(54,56),(55,57)]
[(1,5),(2,3),(4,8),(6,7),(10,42),(11,12),(13,22),(14,16),(15,17),(18,20),(19,21),(23,24),(25,41),(27,28),(29,38),(30,32),(31,33),(34,36),(35,37),(39,40),(43,44),(45,54),(46,48),(47,49),(50,52),(51,53),(55,56)]
[(1,2),(3,5),(4,6),(7,8),(10,26),(11,14),(12,16),(15,18),(17,20),(19,23),(21,24),(27,30),(28,32),(31,34),(33,36),(35,39),(37,40),(43,46),(44,48),(47,50),(49,52),(51,55),(53,56)]
[(2,3),(4,5),(6,7),(11,43),(12,14),(13,16),(19,22),(21,23),(24,40),(28,30),(29,32),(35,38),(37,39),(44,46),(45,48),(51,54),(53,55)]
[(2,12),(3,4),(5,6),(7,57),(9,23),(11,27),(13,15),(16,18),(17,19),(20,22),(28,44),(29,31),(32,34),(33,35),(36,38),(39,55),(45,47),(48,50),(49,51),(52,54)]
[(2,28),(6,56),(7,25),(9,39),(13,14),(15,16),(17,18),(19,20),(21,22),(23,55),(29,30),(31,32),(33,34),(35,36),(37,38),(41,57),(45,46),(47,48),(49,50),(51,52),(53,54)]
[(0,30),(1,31),(3,13),(6,24),(8,22),(12,20),(14,46),(15,47),(16,17),(18,19),(23,39),(25,41),(29,45),(32,33),(34,35),(36,52),(37,53),(38,54),(40,56),(48,49),(50,51),(55,57)]
[(0,14),(1,15),(3,29),(4,34),(5,35),(6,16),(7,17),(8,38),(12,44),(13,21),(18,50),(19,51),(20,52),(22,54),(24,40),(30,46),(31,47),(32,48),(33,49)]
[(0,10),(1,11),(4,42),(5,43),(6,32),(7,33),(8,30),(9,31),(12,28),(13,45),(16,48),(17,49),(18,26),(19,27),(20,36),(21,53),(22,38),(23,47),(34,50),(35,51),(40,52)]
[(4,18),(5,19),(6,12),(13,29),(14,30),(15,31),(16,32),(17,33),(20,28),(21,37),(22,46),(24,48),(25,49),(34,42),(35,43),(36,44),(38,50),(39,51),(41,53),(52,54)]
[(4,10),(5,11),(7,13),(8,14),(9,15),(12,20),(21,29),(22,30),(23,31),(24,32),(25,33),(26,34),(27,35),(28,36),(37,45),(38,46),(39,47),(40,48),(41,49),(53,56)]
[(1,4),(13,21),(16,28),(18,26),(19,27),(24,36),(29,37),(32,44),(33,45),(34,42),(35,43),(48,50),(49,51)]
[(8,18),(9,19),(14,26),(15,27),(16,20),(17,29),(22,34),(23,35),(24,28),(25,37),(30,42),(31,43),(32,36),(40,44),(41,45),(49,52),(51,54)]
[(8,10),(9,11),(14,18),(15,19),(17,21),(22,26),(23,27),(25,29),(30,34),(31,35),(33,37),(38,42),(39,43),(44,46),(45,47),(54,55)]
[(2,8),(3,9),(6,10),(7,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(45,46),(47,50),(53,54),(55,56)]
[(2,4),(3,8),(5,6),(7,12),(9,10),(11,14),(13,16),(15,20),(17,18),(19,24),(21,22),(23,28),(25,26),(27,29),(30,32),(31,34),(33,36),(35,38),(37,40),(39,42),(41,44),(43,48),(49,50),(51,53),(54,55)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,17),(18,20),(19,21),(22,24),(23,25),(26,28),(27,30),(29,32),(31,33),(34,36),(35,37),(38,40),(39,41),(42,44),(43,45),(46,48),(47,49),(50,52)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(51,52)]

Van Voorhis type (4,4) with initial sorter sizes 3x16+10
Auto generated
Sorting network for 58 inputs, 471 CEs, 20 layers:

[(1,2),(5,6),(7,17),(9,10),(13,14),(15,52),(16,18),(19,29),(20,21),(22,33),(23,54),(24,26),(25,27),(28,30),(31,55),(32,34),(35,45),(36,38),(37,39),(40,42),(41,43),(44,46),(47,57),(48,49),(50,56),(51,53)]
[(0,1),(3,20),(4,5),(7,16),(8,9),(11,48),(12,13),(15,51),(17,18),(19,28),(22,32),(23,50),(24,25),(26,27),(29,30),(31,47),(33,34),(35,44),(36,37),(38,39),(40,41),(42,43),(45,46),(52,53),(54,56),(55,57)]
[(0,3),(1,2),(4,7),(5,6),(8,11),(9,10),(12,15),(13,14),(16,17),(19,24),(20,21),(22,36),(23,35),(25,26),(27,30),(28,29),(31,40),(32,33),(34,39),(37,38),(41,42),(43,57),(44,45),(46,56),(47,55),(48,49),(50,54),(51,52)]
[(0,8),(1,20),(2,21),(3,35),(4,31),(5,16),(6,17),(7,24),(9,48),(10,49),(11,36),(12,19),(13,51),(14,52),(15,40),(18,43),(22,23),(25,28),(26,29),(27,53),(30,57),(32,37),(33,38),(34,46),(39,56),(41,47),(42,55),(44,50),(45,54)]
[(0,22),(1,9),(2,10),(3,11),(4,12),(5,41),(6,42),(7,15),(8,23),(13,25),(14,26),(16,28),(17,29),(18,27),(19,31),(20,50),(21,54),(24,40),(30,46),(32,44),(33,45),(35,36),(37,48),(38,49),(43,53),(47,51),(52,55)]
[(0,4),(1,32),(2,33),(3,19),(5,13),(6,14),(7,8),(9,44),(10,45),(11,31),(12,22),(15,23),(16,47),(17,52),(18,34),(20,37),(21,38),(24,35),(25,41),(26,42),(28,51),(29,55),(36,40),(39,43),(48,50),(49,54),(53,56)]
[(1,5),(2,6),(3,7),(4,12),(8,22),(9,16),(10,17),(11,19),(13,32),(14,33),(15,24),(20,25),(21,26),(23,31),(27,34),(28,48),(29,49),(30,39),(35,36),(37,41),(38,42),(43,53),(44,47),(45,52),(50,51),(54,55)]
[(3,4),(5,13),(6,14),(7,12),(8,24),(9,20),(10,21),(11,22),(15,19),(16,32),(17,33),(23,35),(25,37),(26,38),(27,30),(28,44),(29,45),(31,36),(34,39),(41,47),(42,52),(48,50),(49,54),(53,57)]
[(4,7),(5,9),(6,10),(8,12),(11,15),(13,20),(14,21),(16,44),(17,45),(19,22),(23,24),(25,32),(26,33),(28,37),(29,38),(30,34),(31,35),(39,46),(41,48),(42,49),(43,53),(47,50),(52,54),(56,57)]
[(8,11),(9,13),(10,14),(12,15),(16,20),(17,21),(19,23),(22,24),(25,28),(26,29),(32,37),(33,38),(39,43),(41,44),(42,45),(46,53),(47,48),(49,52)]
[(7,8),(11,12),(15,19),(16,25),(17,26),(20,28),(21,29),(22,23),(24,31),(32,41),(33,42),(34,39),(37,44),(38,45),(43,46),(52,57),(53,56)]
[(1,8),(2,19),(5,11),(6,22),(9,12),(10,23),(13,16),(14,17),(20,25),(21,26),(28,32),(29,33),(37,41),(38,42),(43,48),(44,47),(45,49),(46,50),(51,53)]
[(1,3),(2,4),(6,7),(10,12),(13,15),(14,24),(17,31),(18,32),(20,22),(21,35),(26,36),(27,37),(29,40),(30,41),(34,44),(39,47),(42,46),(48,52),(49,56),(50,54),(53,55)]
[(2,3),(4,8),(5,6),(7,11),(14,15),(16,18),(17,19),(21,27),(23,26),(24,29),(25,30),(28,34),(31,33),(32,39),(35,38),(36,41),(37,43),(40,45),(44,51),(47,49)]
[(16,17),(18,23),(19,25),(20,21),(22,27),(24,28),(26,31),(29,35),(30,32),(33,39),(34,37),(36,42),(38,44),(40,43),(41,46),(45,51)]
[(8,16),(11,20),(12,19),(15,22),(17,18),(21,24),(23,25),(26,30),(27,28),(29,34),(31,32),(33,36),(35,37),(38,40),(39,41),(42,47),(43,45),(44,48),(46,50),(51,53)]
[(8,9),(10,16),(11,13),(12,17),(14,20),(15,21),(18,19),(22,24),(23,26),(25,31),(27,29),(28,35),(30,33),(32,36),(34,38),(37,40),(39,42),(41,47),(43,44),(45,48),(46,49),(50,56),(51,52),(53,57)]
[(4,8),(7,9),(10,11),(12,16),(13,14),(15,17),(18,20),(19,22),(21,23),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,46),(45,47),(48,51),(49,50),(52,56),(53,54),(55,57)]
[(4,5),(6,8),(7,10),(9,11),(12,13),(14,16),(15,18),(17,20),(19,21),(22,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,42),(41,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,56)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

Obtained by reduction of network for 61 inputs, L=502, D=20
Auto generated
Sorting network for 59 inputs, 476 CEs, 21 layers:

[(0,9),(1,6),(2,4),(3,7),(5,8),(11,24),(12,23),(13,26),(14,25),(15,19),(16,17),(18,22),(20,21),(27,40),(28,39),(29,42),(30,41),(31,35),(32,33),(34,38),(36,37),(43,56),(44,55),(45,58),(46,57),(47,51),(48,49),(50,54),(52,53)]
[(0,1),(3,5),(4,10),(6,9),(7,8),(11,16),(12,18),(13,20),(14,15),(17,24),(19,25),(21,26),(22,23),(27,32),(28,34),(29,36),(30,31),(33,40),(35,41),(37,42),(38,39),(43,48),(44,50),(45,52),(46,47),(49,56),(51,57),(53,58),(54,55)]
[(1,3),(2,5),(4,7),(8,10),(11,12),(13,14),(15,16),(17,19),(18,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,35),(34,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,51),(50,52),(53,54),(55,56),(57,58)]
[(0,4),(1,2),(3,7),(5,9),(6,8),(11,13),(12,14),(15,21),(16,22),(17,18),(19,20),(23,25),(24,26),(27,29),(28,30),(31,37),(32,38),(33,34),(35,36),(39,41),(40,42),(43,45),(44,46),(47,53),(48,54),(49,50),(51,52),(55,57),(56,58)]
[(0,1),(2,6),(4,5),(7,8),(9,10),(11,43),(12,13),(14,23),(15,17),(16,18),(19,21),(20,22),(24,25),(26,42),(28,29),(30,39),(31,33),(32,34),(35,37),(36,38),(40,41),(44,45),(46,55),(47,49),(48,50),(51,53),(52,54),(56,57)]
[(2,4),(3,6),(5,7),(8,9),(11,27),(12,15),(13,17),(16,19),(18,21),(20,24),(22,25),(28,31),(29,33),(32,35),(34,37),(36,40),(38,41),(44,47),(45,49),(48,51),(50,53),(52,56),(54,57)]
[(1,2),(3,4),(5,6),(7,8),(10,25),(12,44),(13,15),(14,17),(20,23),(22,24),(29,31),(30,33),(36,39),(38,40),(41,57),(45,47),(46,49),(52,55),(54,56)]
[(2,3),(4,5),(6,7),(9,24),(10,41),(12,28),(13,45),(14,16),(17,19),(18,20),(21,23),(25,57),(30,32),(33,35),(34,36),(37,39),(40,56),(46,48),(49,51),(50,52),(53,55)]
[(7,58),(9,40),(13,29),(14,15),(16,17),(18,19),(20,21),(22,23),(24,56),(25,41),(30,31),(32,33),(34,35),(36,37),(38,39),(46,47),(48,49),(50,51),(52,53),(54,55)]
[(0,31),(1,32),(3,14),(6,37),(7,26),(8,23),(15,47),(16,48),(17,18),(19,20),(21,53),(24,40),(30,46),(33,34),(35,36),(38,54),(39,55),(42,58),(49,50),(51,52)]
[(0,15),(1,16),(2,33),(3,30),(4,35),(5,36),(6,45),(7,18),(8,39),(14,22),(17,49),(19,51),(20,52),(21,29),(23,55),(26,42),(31,47),(32,48),(34,50),(37,53),(57,58)]
[(0,11),(1,12),(2,17),(4,43),(5,44),(6,21),(7,34),(8,31),(9,32),(14,46),(18,50),(19,27),(20,28),(22,54),(23,39),(24,48),(33,49),(35,51),(36,52),(37,45),(41,53)]
[(2,13),(4,19),(5,20),(10,33),(14,30),(15,31),(16,32),(18,34),(22,38),(23,47),(25,49),(26,50),(29,37),(35,43),(36,44),(39,51),(40,52),(42,54)]
[(4,11),(5,12),(6,13),(7,14),(8,15),(9,16),(17,33),(21,29),(22,30),(23,31),(24,32),(26,34),(27,35),(28,36),(37,45),(38,46),(39,47),(40,48),(41,49),(42,50),(54,56)]
[(1,4),(10,17),(14,22),(19,27),(20,28),(25,33),(30,38),(34,46),(35,43),(36,44),(49,55),(50,53),(56,57)]
[(8,19),(9,20),(10,21),(15,27),(16,28),(17,29),(18,30),(23,35),(24,36),(25,37),(26,38),(31,43),(32,44),(33,45),(42,46),(50,52),(54,55)]
[(8,11),(9,12),(10,13),(15,19),(16,20),(17,21),(18,22),(23,27),(24,28),(25,29),(26,30),(31,35),(32,36),(33,37),(34,38),(39,43),(40,44),(41,45),(46,48),(52,54),(53,55)]
[(2,8),(3,9),(6,11),(7,12),(10,15),(13,19),(14,16),(17,23),(18,20),(21,27),(22,24),(25,31),(26,28),(29,35),(30,32),(33,39),(34,36),(37,43),(38,40),(41,47),(42,44),(45,51),(48,50),(53,54),(55,56)]
[(2,4),(3,5),(6,8),(7,9),(10,11),(12,13),(14,15),(16,19),(17,18),(20,22),(21,23),(24,27),(25,26),(28,31),(29,30),(32,35),(33,34),(36,39),(37,38),(40,42),(41,43),(44,45),(46,47),(49,51)]
[(3,6),(5,8),(7,10),(9,11),(12,14),(13,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,46),(45,47),(48,49),(50,51)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52)]

Van Voorhis type (4,4) with initial sorter sizes 3x16+11
Auto generated
Sorting network for 59 inputs, 480 CEs, 20 layers:

[(0,9),(1,6),(2,4),(3,7),(5,8),(11,16),(12,15),(13,23),(14,24),(17,18),(19,20),(21,26),(22,25),(27,32),(28,31),(29,39),(30,40),(33,34),(35,36),(37,42),(38,41),(43,48),(44,47),(45,55),(46,56),(49,50),(51,52),(53,58),(54,57)]
[(0,1),(3,5),(4,10),(6,9),(7,8),(11,13),(12,21),(14,17),(15,18),(16,25),(19,22),(20,23),(24,26),(27,29),(28,37),(30,33),(31,34),(32,41),(35,38),(36,39),(40,42),(43,45),(44,53),(46,49),(47,50),(48,57),(51,54),(52,55),(56,58)]
[(1,3),(2,5),(4,7),(8,10),(11,19),(12,14),(13,22),(15,24),(16,20),(17,21),(18,26),(23,25),(27,35),(28,30),(29,38),(31,40),(32,36),(33,37),(34,42),(39,41),(43,51),(44,46),(45,54),(47,56),(48,52),(49,53),(50,58),(55,57)]
[(0,4),(1,2),(3,7),(5,9),(6,8),(11,12),(13,15),(14,19),(16,17),(18,23),(20,21),(22,24),(25,26),(27,28),(29,31),(30,35),(32,33),(34,39),(36,37),(38,40),(41,42),(43,44),(45,47),(46,51),(48,49),(50,55),(52,53),(54,56),(57,58)]
[(0,1),(2,6),(4,5),(7,8),(9,10),(11,43),(12,14),(13,16),(15,19),(17,20),(18,22),(21,24),(23,25),(26,58),(28,30),(29,32),(31,35),(33,36),(34,38),(37,40),(39,41),(44,46),(45,48),(47,51),(49,52),(50,54),(53,56),(55,57)]
[(0,27),(2,4),(3,6),(5,7),(8,9),(12,13),(14,16),(15,22),(17,19),(18,20),(21,23),(24,25),(28,29),(30,32),(31,38),(33,35),(34,36),(37,39),(40,41),(44,45),(46,48),(47,54),(49,51),(50,52),(53,55),(56,57)]
[(0,11),(1,2),(3,4),(5,6),(7,8),(12,44),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(27,43),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,57),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]
[(1,28),(2,3),(4,5),(6,7),(11,27),(13,45),(15,17),(16,18),(19,21),(20,22),(25,57),(31,33),(32,34),(35,37),(36,38),(40,56),(47,49),(48,50),(51,53),(52,54)]
[(1,12),(2,29),(7,42),(14,15),(16,17),(18,19),(20,21),(22,23),(24,56),(25,41),(28,44),(30,31),(32,33),(34,35),(36,37),(38,39),(46,47),(48,49),(50,51),(52,53),(54,55)]
[(2,13),(3,30),(4,15),(5,16),(6,17),(7,26),(8,19),(9,20),(10,21),(12,28),(14,46),(18,34),(22,54),(24,40),(29,45),(31,47),(32,48),(33,49),(35,51),(36,52),(37,53),(39,55),(42,58)]
[(3,50),(4,31),(5,32),(6,33),(7,18),(8,35),(9,36),(10,37),(13,29),(15,47),(16,48),(17,49),(19,51),(20,52),(21,53),(23,55),(26,42),(30,38)]
[(3,14),(4,11),(5,12),(6,13),(8,27),(9,28),(10,29),(15,31),(16,32),(17,33),(19,35),(20,36),(21,37),(22,38),(23,39),(30,46),(34,50),(40,48),(41,49),(51,55),(52,56),(53,57)]
[(1,4),(7,14),(8,11),(9,12),(10,13),(18,34),(19,43),(20,44),(21,45),(22,46),(23,31),(24,32),(25,33),(26,50),(36,40),(37,41),(38,54),(39,47),(48,52),(49,53),(57,58)]
[(2,8),(3,9),(14,30),(15,19),(16,20),(17,21),(18,22),(23,27),(24,28),(25,29),(26,38),(31,43),(32,44),(33,45),(34,46),(35,39),(42,54),(47,51)]
[(2,4),(5,8),(14,18),(15,23),(16,24),(17,25),(19,27),(20,28),(21,29),(22,30),(26,34),(31,35),(32,36),(33,37),(38,46),(39,43),(40,44),(41,45),(42,50),(54,56)]
[(3,8),(7,14),(11,15),(12,16),(13,17),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33),(34,38),(35,39),(36,40),(37,41),(42,46),(43,47),(44,48),(45,49),(50,52),(56,57)]
[(6,11),(7,12),(10,15),(13,19),(14,16),(17,23),(18,20),(21,27),(22,24),(25,31),(26,28),(29,35),(30,32),(33,39),(34,36),(37,43),(38,40),(41,47),(42,44),(45,51),(46,48),(49,55),(52,53)]
[(3,6),(7,11),(9,10),(12,13),(14,15),(16,18),(17,19),(20,23),(21,22),(24,26),(25,27),(28,30),(29,31),(32,33),(34,35),(36,39),(37,38),(40,43),(41,42),(44,46),(45,47),(48,50),(49,51),(54,55)]
[(3,5),(6,8),(7,9),(10,11),(12,14),(13,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,54),(53,55)]
[(3,4),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

Van Voorhis type (4,4) with initial sorter sizes 3x16+11, depth optimized.
Auto generated
Sorting network for 60 inputs, 483 CEs, 21 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11),(16,17),(18,25),(19,29),(20,23),(21,28),(22,27),(24,26),(31,32),(33,40),(34,44),(35,38),(36,43),(37,42),(39,41),(46,47),(48,55),(49,59),(50,53),(51,58),(52,57),(54,56)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13),(15,29),(16,20),(17,23),(18,22),(21,24),(25,27),(26,28),(30,44),(31,35),(32,38),(33,37),(36,39),(40,42),(41,43),(45,59),(46,50),(47,53),(48,52),(51,54),(55,57),(56,58)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14),(15,22),(16,21),(17,24),(19,25),(20,26),(23,28),(27,29),(30,37),(31,36),(32,39),(34,40),(35,41),(38,43),(42,44),(45,52),(46,51),(47,54),(49,55),(50,56),(53,58),(57,59)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14),(15,21),(17,19),(18,20),(22,26),(23,25),(24,27),(28,29),(30,36),(32,34),(33,35),(37,41),(38,40),(39,42),(43,44),(45,51),(47,49),(48,50),(52,56),(53,55),(54,57),(58,59)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13),(14,59),(15,18),(16,17),(19,22),(20,24),(21,23),(25,26),(27,28),(29,44),(30,33),(31,32),(34,37),(35,39),(36,38),(40,41),(42,43),(45,48),(46,47),(49,52),(50,54),(51,53),(55,56),(57,58)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13),(14,29),(15,16),(17,18),(19,21),(22,24),(25,27),(26,28),(30,31),(32,33),(34,36),(37,39),(40,42),(41,43),(44,59),(45,46),(47,48),(49,51),(52,54),(55,57),(56,58)]
[(0,30),(1,2),(3,5),(8,10),(11,12),(13,58),(15,45),(16,17),(18,20),(23,25),(26,27),(28,43),(29,44),(31,32),(33,35),(38,40),(41,42),(46,47),(48,50),(53,55),(56,57)]
[(0,15),(1,31),(3,4),(5,6),(7,8),(9,10),(12,57),(13,28),(16,46),(18,19),(20,21),(22,23),(24,25),(27,42),(30,45),(33,34),(35,36),(37,38),(39,40),(43,58),(48,49),(50,51),(52,53),(54,55)]
[(1,16),(2,3),(4,5),(6,7),(8,9),(10,11),(12,27),(15,30),(17,18),(19,20),(21,22),(23,24),(25,26),(28,43),(31,46),(32,33),(34,35),(36,37),(38,39),(40,41),(42,57),(47,48),(49,50),(51,52),(53,54),(55,56)]
[(2,32),(3,18),(4,49),(5,6),(7,8),(9,39),(10,40),(11,26),(16,31),(17,47),(19,34),(20,21),(22,23),(24,54),(25,55),(27,42),(33,48),(35,36),(37,38),(41,56),(50,51),(52,53)]
[(2,17),(3,33),(4,19),(5,50),(6,51),(7,37),(8,38),(9,24),(10,25),(11,41),(18,48),(20,35),(21,36),(22,52),(23,53),(26,56),(32,47),(34,49),(39,54),(40,55)]
[(4,15),(5,20),(6,21),(7,22),(8,23),(9,31),(11,48),(12,19),(17,32),(18,33),(24,39),(25,40),(26,41),(27,49),(35,50),(36,51),(37,52),(38,53),(43,54),(44,55)]
[(1,4),(5,16),(6,17),(7,18),(8,30),(10,32),(11,33),(13,20),(14,21),(19,34),(22,37),(23,38),(24,46),(25,47),(26,48),(28,50),(29,51),(41,52),(42,53),(54,56),(55,58)]
[(3,5),(8,15),(9,16),(10,17),(11,18),(13,24),(14,25),(19,30),(20,35),(21,36),(22,33),(23,45),(26,37),(28,46),(29,47),(34,38),(41,48),(42,49),(43,50),(44,51)]
[(2,8),(5,9),(12,23),(18,22),(20,31),(21,32),(26,33),(27,45),(35,39),(36,40),(37,41),(50,54),(51,57)]
[(2,4),(12,19),(13,20),(14,21),(23,30),(24,31),(25,32),(27,34),(28,35),(29,36),(38,45),(39,46),(40,47),(55,57)]
[(12,15),(13,16),(14,17),(19,23),(20,24),(21,25),(27,30),(28,31),(29,32),(34,38),(35,39),(36,40),(42,45),(43,46),(44,47)]
[(6,12),(7,13),(10,15),(11,16),(14,19),(17,23),(18,20),(21,27),(22,24),(25,30),(26,28),(29,34),(31,33),(32,38),(35,37),(36,42),(39,41),(40,45),(43,48),(44,49),(46,52),(47,53)]
[(6,8),(7,9),(10,12),(11,15),(13,14),(16,18),(17,19),(20,22),(21,23),(24,27),(25,26),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(40,42),(41,43),(44,48),(45,46),(47,49),(50,52),(51,53)]
[(3,6),(5,8),(7,10),(9,12),(11,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,41),(42,43),(44,45),(46,48),(47,50),(49,52),(51,54),(53,56)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 60 inputs, 489 CEs, 20 layers:

[(1,2),(5,6),(7,17),(8,10),(9,11),(12,14),(13,15),(16,18),(19,53),(20,21),(22,45),(23,56),(25,26),(27,29),(28,30),(31,58),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(47,49),(48,50),(51,55),(52,54),(57,59)]
[(0,1),(3,20),(4,5),(7,16),(8,9),(10,11),(12,13),(14,15),(17,18),(19,52),(22,44),(23,51),(24,25),(27,28),(29,30),(31,57),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(45,46),(47,48),(49,50),(53,54),(55,56),(58,59)]
[(0,3),(1,2),(4,7),(5,6),(8,47),(9,10),(11,50),(12,19),(13,14),(15,54),(16,17),(20,21),(22,23),(24,27),(25,26),(28,29),(31,40),(32,36),(33,34),(35,39),(37,38),(41,42),(43,59),(44,45),(46,56),(48,49),(51,55),(52,53),(57,58)]
[(0,8),(1,20),(2,21),(3,23),(4,31),(5,16),(6,17),(7,27),(9,48),(10,49),(12,24),(13,52),(14,53),(15,30),(18,43),(19,40),(22,32),(25,28),(26,29),(33,37),(34,38),(35,46),(36,47),(39,50),(41,57),(42,58),(44,51),(45,55),(54,59)]
[(0,22),(1,9),(2,10),(3,36),(4,12),(5,41),(6,42),(7,19),(8,32),(11,35),(13,25),(14,26),(15,18),(16,28),(17,29),(20,51),(21,55),(23,47),(24,31),(27,40),(30,43),(33,44),(34,45),(37,48),(38,49),(39,56),(46,54),(50,59),(52,57),(53,58)]
[(0,4),(1,33),(2,34),(3,24),(5,13),(6,14),(7,8),(9,44),(10,45),(11,15),(12,22),(16,52),(17,53),(18,35),(19,32),(20,37),(21,38),(23,27),(25,41),(26,42),(28,57),(29,58),(30,39),(31,36),(40,47),(43,56),(48,51),(49,55)]
[(1,5),(2,6),(3,7),(4,12),(8,22),(9,16),(10,17),(13,33),(14,34),(15,18),(19,23),(20,25),(21,26),(24,31),(27,40),(28,48),(29,49),(30,46),(32,36),(35,54),(37,41),(38,42),(39,43),(44,52),(45,53),(51,57),(55,58),(56,59)]
[(3,4),(5,13),(6,14),(7,12),(8,23),(9,20),(10,21),(15,30),(16,33),(17,34),(18,46),(19,31),(22,24),(25,37),(26,38),(27,32),(28,44),(29,45),(36,40),(39,54),(41,52),(42,53),(43,50),(48,51),(49,55),(58,59)]
[(4,7),(5,9),(6,10),(8,12),(13,20),(14,21),(16,44),(17,45),(18,30),(19,22),(23,27),(24,31),(25,33),(26,34),(28,37),(29,38),(32,36),(35,46),(39,43),(41,48),(42,49),(50,54),(51,52),(53,55)]
[(8,19),(9,13),(10,14),(12,22),(16,20),(17,21),(23,24),(25,28),(26,29),(27,31),(33,37),(34,38),(35,39),(41,44),(42,45),(43,46),(48,51),(49,53),(50,56)]
[(7,8),(12,19),(16,25),(17,26),(20,28),(21,29),(22,23),(24,27),(30,35),(31,32),(33,41),(34,42),(37,44),(38,45),(39,43),(46,50),(54,56)]
[(1,8),(2,23),(5,12),(6,24),(9,19),(10,27),(13,16),(14,17),(20,25),(21,26),(28,33),(29,34),(37,41),(38,42),(39,51),(43,52),(44,48),(45,49),(46,57),(53,54),(55,56)]
[(1,3),(2,4),(6,7),(10,19),(11,33),(13,22),(14,31),(15,37),(17,32),(18,41),(20,24),(21,36),(26,40),(29,47),(30,44),(35,48),(42,43),(49,50),(51,53),(52,55),(57,58)]
[(2,3),(4,8),(5,6),(7,12),(11,16),(14,22),(15,21),(17,23),(18,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,41),(44,46),(45,47),(48,49)]
[(11,17),(15,20),(16,26),(18,23),(21,24),(25,33),(27,32),(28,29),(30,37),(31,36),(34,35),(38,44),(39,45),(40,42),(41,43),(46,47)]
[(8,11),(12,15),(16,17),(18,19),(20,28),(21,22),(23,26),(24,29),(25,27),(30,31),(32,33),(34,40),(35,41),(36,37),(38,39),(42,48),(43,52),(44,51),(45,46),(47,57)]
[(8,9),(10,11),(12,13),(14,15),(16,18),(17,19),(20,21),(22,28),(23,25),(24,30),(26,32),(27,34),(29,36),(31,38),(33,40),(35,42),(37,39),(41,48),(43,49),(44,45),(46,51),(47,53),(50,52),(54,57)]
[(4,8),(7,9),(10,12),(11,16),(13,14),(15,17),(18,20),(19,22),(21,23),(24,25),(26,28),(27,29),(30,32),(31,33),(34,36),(35,38),(37,40),(39,41),(42,44),(43,45),(46,48),(47,51),(49,50),(52,53),(54,55),(57,58)]
[(4,5),(6,8),(7,10),(9,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,23),(24,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,37),(38,40),(39,42),(41,44),(43,46),(45,48),(47,49),(50,51),(52,54),(53,55),(56,57)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58)]

Obtained by reduction of network for 63 inputs, L=519, D=20
Auto generated
Sorting network for 61 inputs, 497 CEs, 22 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11),(16,17),(18,25),(19,29),(20,23),(21,28),(22,27),(24,26),(31,32),(33,40),(34,44),(35,38),(36,43),(37,42),(39,41),(45,58),(46,57),(47,60),(48,59),(49,53),(50,51),(52,56),(54,55)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13),(15,29),(16,20),(17,23),(18,22),(21,24),(25,27),(26,28),(30,44),(31,35),(32,38),(33,37),(36,39),(40,42),(41,43),(45,50),(46,52),(47,54),(48,49),(51,58),(53,59),(55,60),(56,57)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14),(15,22),(16,21),(17,24),(19,25),(20,26),(23,28),(27,29),(30,37),(31,36),(32,39),(34,40),(35,41),(38,43),(42,44),(45,46),(47,48),(49,50),(51,53),(52,54),(55,56),(57,58),(59,60)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14),(15,21),(17,19),(18,20),(22,26),(23,25),(24,27),(28,29),(30,36),(32,34),(33,35),(37,41),(38,40),(39,42),(43,44),(45,47),(46,48),(49,55),(50,56),(51,52),(53,54),(57,59),(58,60)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13),(15,18),(16,17),(19,22),(20,24),(21,23),(25,26),(27,28),(29,44),(30,33),(31,32),(34,37),(35,39),(36,38),(40,41),(42,43),(46,47),(48,57),(49,51),(50,52),(53,55),(54,56),(58,59)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13),(15,16),(17,18),(19,21),(22,24),(25,27),(26,28),(30,31),(32,33),(34,36),(37,39),(40,42),(41,43),(46,49),(47,51),(50,53),(52,55),(54,58),(56,59)]
[(0,30),(1,2),(3,5),(8,10),(11,12),(14,59),(15,45),(16,17),(18,20),(23,25),(26,27),(28,43),(31,32),(33,35),(38,40),(41,42),(47,49),(48,51),(54,57),(56,58)]
[(0,15),(1,31),(3,4),(5,6),(7,8),(9,10),(13,58),(14,29),(16,46),(18,19),(20,21),(22,23),(24,25),(27,42),(30,45),(33,34),(35,36),(37,38),(39,40),(44,59),(48,50),(51,53),(52,54),(55,57)]
[(1,16),(2,3),(4,5),(6,7),(8,9),(10,11),(13,28),(15,30),(17,18),(19,20),(21,22),(23,24),(25,26),(29,44),(31,46),(32,33),(34,35),(36,37),(38,39),(40,41),(43,58),(48,49),(50,51),(52,53),(54,55),(56,57)]
[(2,32),(3,33),(4,49),(5,6),(7,8),(9,39),(10,40),(11,41),(12,57),(16,31),(17,47),(18,48),(19,34),(20,21),(22,23),(25,55),(26,60),(28,43),(35,36),(37,38),(51,52),(53,54)]
[(2,17),(3,18),(4,19),(5,50),(6,51),(7,37),(8,38),(10,25),(11,26),(12,27),(20,35),(21,36),(23,53),(24,54),(32,47),(33,48),(34,49),(40,55),(41,60),(42,57)]
[(4,15),(5,20),(6,21),(7,52),(8,23),(9,24),(12,19),(17,32),(18,33),(22,37),(25,40),(26,41),(27,42),(35,50),(36,51),(38,53),(39,54),(44,55),(58,60)]
[(1,4),(5,16),(6,17),(8,30),(9,31),(10,32),(13,20),(14,21),(19,34),(23,38),(24,39),(25,47),(27,49),(28,50),(29,51),(37,56),(42,53),(43,54),(48,52)]
[(8,15),(9,16),(10,17),(11,37),(14,25),(19,30),(20,35),(21,36),(22,48),(23,45),(24,46),(26,52),(29,47),(34,38),(41,56),(42,49),(43,50),(44,51),(54,58)]
[(2,8),(3,9),(7,22),(11,33),(12,23),(13,24),(20,31),(21,32),(27,45),(28,46),(35,39),(36,40),(37,48),(41,52),(50,56),(51,57)]
[(2,4),(5,8),(7,18),(12,19),(13,20),(14,21),(23,30),(24,31),(25,32),(27,34),(28,35),(29,36),(33,37),(38,45),(39,46),(40,47),(41,48),(51,54),(57,58)]
[(11,18),(12,15),(13,16),(14,17),(19,23),(20,24),(21,25),(22,33),(26,37),(27,30),(28,31),(29,32),(34,38),(35,39),(36,40),(42,45),(43,46),(44,47),(51,56),(55,57)]
[(6,12),(7,13),(10,15),(11,16),(14,19),(17,23),(18,22),(21,27),(25,30),(26,33),(29,34),(32,38),(36,42),(37,41),(40,45),(43,48),(44,49),(46,52),(47,53),(57,60)]
[(6,8),(7,10),(9,12),(11,13),(14,15),(16,19),(18,20),(22,24),(26,28),(29,30),(31,33),(35,37),(39,41),(42,43),(44,46),(45,48),(47,50),(49,52),(51,53),(57,58),(59,60)]
[(3,6),(7,12),(11,14),(13,15),(17,18),(20,21),(22,23),(24,27),(25,26),(28,31),(32,35),(33,34),(36,39),(37,38),(40,41),(44,45),(46,48),(47,52),(53,56)]
[(3,5),(6,8),(7,9),(10,12),(13,14),(16,17),(18,19),(20,22),(21,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,42),(41,43),(45,46),(47,49),(50,52),(54,56)]
[(3,4),(7,8),(11,12),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(47,48),(51,52),(55,56)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 61 inputs, 498 CEs, 21 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11),(15,28),(16,27),(17,30),(18,29),(19,23),(20,21),(22,26),(24,25),(32,33),(34,41),(35,45),(36,39),(37,44),(38,43),(40,42),(46,59),(47,58),(49,60),(50,54),(51,52),(53,57),(55,56)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13),(15,20),(16,22),(17,24),(18,19),(21,28),(23,29),(25,30),(26,27),(31,45),(32,36),(33,39),(34,38),(37,40),(41,43),(42,44),(46,51),(47,53),(48,55),(49,50),(52,59),(54,60),(57,58)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14),(15,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28),(29,30),(31,38),(32,37),(33,40),(35,41),(36,42),(39,44),(43,45),(46,47),(48,49),(50,51),(52,54),(53,55),(56,57),(58,59)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14),(15,17),(16,18),(19,25),(20,26),(21,22),(23,24),(27,29),(28,30),(31,37),(33,35),(34,36),(38,42),(39,41),(40,43),(44,45),(46,48),(47,49),(50,56),(51,57),(52,53),(54,55),(58,60)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13),(15,46),(16,17),(18,27),(19,21),(20,22),(23,25),(24,26),(28,29),(31,34),(32,33),(35,38),(36,40),(37,39),(41,42),(43,44),(47,48),(49,58),(50,52),(51,53),(54,56),(55,57),(59,60)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13),(16,19),(17,21),(20,23),(22,25),(24,28),(26,29),(31,32),(33,34),(35,37),(38,40),(41,43),(42,44),(47,50),(48,52),(51,54),(53,56),(55,59),(57,60)]
[(0,31),(1,2),(3,5),(8,10),(11,12),(14,60),(16,47),(17,19),(18,21),(24,27),(26,28),(29,45),(32,33),(34,36),(39,41),(42,43),(48,50),(49,52),(55,58),(57,59)]
[(0,15),(1,32),(3,4),(5,6),(7,8),(9,10),(13,59),(14,29),(17,48),(18,20),(21,23),(22,24),(25,27),(28,44),(31,46),(34,35),(36,37),(38,39),(40,41),(45,60),(49,51),(52,54),(53,55),(56,58)]
[(1,16),(2,3),(4,5),(6,7),(8,9),(10,11),(13,28),(15,31),(18,19),(20,21),(22,23),(24,25),(26,27),(29,45),(32,47),(33,34),(35,36),(37,38),(39,40),(41,42),(44,59),(49,50),(51,52),(53,54),(55,56),(57,58)]
[(2,33),(3,34),(4,50),(5,6),(7,8),(9,40),(10,41),(12,58),(16,32),(18,49),(19,35),(21,22),(23,24),(25,56),(26,57),(27,43),(28,44),(30,42),(36,37),(38,39),(52,53),(54,55)]
[(2,17),(3,18),(4,19),(5,51),(6,52),(7,38),(8,39),(10,25),(11,30),(12,27),(20,36),(21,37),(22,53),(23,54),(24,55),(33,48),(35,50),(41,56),(43,58)]
[(4,15),(5,20),(6,21),(7,49),(8,23),(9,24),(12,19),(17,33),(22,34),(25,41),(27,43),(30,42),(36,51),(37,52),(38,57),(39,54),(40,55),(45,56)]
[(1,4),(5,16),(6,17),(7,18),(8,31),(9,32),(10,33),(11,22),(13,20),(14,21),(19,35),(23,39),(24,40),(25,48),(26,38),(27,50),(28,51),(29,52),(34,53),(42,57),(43,54),(44,55)]
[(7,11),(8,15),(9,16),(10,17),(14,25),(18,26),(19,31),(20,36),(21,37),(22,34),(23,46),(24,47),(29,48),(30,53),(35,39),(38,49),(43,50),(44,51),(45,52),(56,57)]
[(2,8),(3,9),(11,18),(12,23),(13,24),(20,32),(21,33),(26,38),(27,46),(28,47),(30,34),(36,40),(37,41),(42,53),(52,58),(55,56)]
[(2,4),(3,5),(12,19),(13,20),(14,21),(22,26),(23,31),(24,32),(25,33),(27,35),(28,36),(29,37),(30,38),(34,49),(39,46),(40,47),(41,48),(51,53),(52,55),(58,59)]
[(12,15),(13,16),(14,17),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33),(34,38),(35,39),(36,40),(37,41),(42,49),(43,46),(44,47),(45,48),(56,58),(57,59)]
[(6,12),(7,13),(10,15),(11,16),(14,19),(17,23),(18,20),(21,27),(22,24),(25,31),(26,28),(29,35),(30,32),(33,39),(34,36),(37,43),(38,40),(41,46),(42,44),(45,50),(47,49),(48,54),(57,58),(59,60)]
[(6,8),(7,10),(9,12),(11,13),(14,15),(16,18),(17,19),(20,21),(22,23),(24,27),(25,26),(28,30),(29,31),(32,33),(34,35),(36,37),(38,39),(40,43),(41,42),(44,46),(45,47),(48,51),(49,50),(53,54)]
[(3,6),(5,8),(7,9),(10,12),(11,14),(13,15),(16,17),(18,19),(20,22),(21,23),(24,25),(26,27),(28,29),(30,31),(32,34),(33,35),(36,38),(37,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

obtained by removing one input from 62 input case with 21 layers
Auto generated
Sorting network for 61 inputs, 502 CEs, 20 layers:

[(1,2),(3,21),(5,6),(7,17),(9,10),(11,49),(12,14),(13,15),(16,18),(19,29),(20,22),(23,57),(24,26),(25,27),(28,30),(31,55),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(51,53),(52,54),(56,58),(59,60)]
[(0,1),(3,20),(4,5),(7,16),(8,9),(11,48),(12,13),(14,15),(17,18),(19,28),(21,22),(23,56),(24,25),(26,27),(29,30),(31,59),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(49,50),(51,52),(53,54),(55,60),(57,58)]
[(0,3),(1,2),(4,7),(5,6),(8,11),(9,10),(12,51),(13,14),(15,54),(16,17),(19,24),(20,21),(22,50),(23,44),(25,26),(27,30),(28,29),(31,40),(32,36),(33,34),(35,39),(37,38),(41,42),(43,60),(45,46),(47,58),(48,49),(52,53),(55,59),(56,57)]
[(0,8),(1,20),(2,21),(3,44),(4,31),(5,16),(6,17),(7,24),(9,48),(10,49),(11,36),(12,19),(13,52),(14,53),(15,27),(18,43),(23,32),(25,28),(26,29),(33,37),(34,38),(35,47),(39,58),(40,51),(41,55),(42,59),(45,56),(46,57),(54,60)]
[(0,23),(1,9),(2,10),(3,11),(4,12),(5,41),(6,42),(7,40),(8,32),(13,25),(14,26),(15,18),(16,28),(17,29),(19,31),(20,56),(21,57),(22,35),(24,51),(27,43),(30,54),(33,45),(34,46),(36,44),(37,48),(38,49),(47,50),(52,55),(53,59)]
[(0,4),(1,33),(2,34),(3,19),(5,13),(6,14),(7,8),(9,45),(10,46),(11,31),(12,23),(15,22),(16,52),(17,53),(18,35),(20,37),(21,38),(24,36),(25,41),(26,42),(27,39),(28,55),(29,59),(30,47),(32,40),(43,58),(44,51),(48,56),(49,57),(50,54)]
[(1,5),(2,6),(3,7),(4,12),(8,23),(9,16),(10,17),(11,19),(13,33),(14,34),(18,22),(20,25),(21,26),(24,32),(27,30),(28,48),(29,49),(31,40),(35,47),(36,44),(37,41),(38,42),(39,43),(45,52),(46,53),(50,60),(54,58),(55,56),(57,59)]
[(3,4),(5,13),(6,14),(7,12),(8,32),(9,20),(10,21),(11,23),(16,33),(17,34),(18,27),(19,24),(22,30),(25,37),(26,38),(28,45),(29,46),(31,36),(35,60),(39,47),(40,44),(41,52),(42,53),(43,50),(48,55),(49,57)]
[(4,7),(5,9),(6,10),(8,12),(11,19),(13,20),(14,21),(16,45),(17,46),(22,27),(23,24),(25,33),(26,34),(28,37),(29,38),(30,35),(31,32),(36,40),(39,43),(41,48),(42,49),(47,50),(52,55),(53,57),(54,60)]
[(8,11),(9,13),(10,14),(12,19),(16,20),(17,21),(23,31),(24,32),(25,28),(26,29),(30,39),(33,37),(34,38),(35,43),(41,45),(42,46),(47,54),(48,52),(49,53),(50,60)]
[(7,8),(11,12),(16,25),(17,26),(19,23),(20,28),(21,29),(24,31),(27,30),(32,36),(33,41),(34,42),(35,39),(37,45),(38,46),(43,47),(50,54),(58,60)]
[(1,8),(2,23),(5,11),(6,24),(9,12),(10,31),(13,16),(14,17),(20,25),(21,26),(28,33),(29,34),(35,52),(37,41),(38,42),(39,55),(43,56),(45,48),(46,49),(50,53),(54,57),(58,59)]
[(1,3),(2,4),(6,7),(10,12),(13,19),(14,32),(15,33),(17,36),(18,37),(20,24),(21,40),(22,41),(26,44),(27,45),(29,51),(30,48),(39,42),(47,49),(50,52),(55,60),(56,58)]
[(2,3),(4,8),(5,6),(7,11),(14,19),(15,16),(17,23),(18,21),(22,25),(26,31),(27,28),(29,32),(30,33),(34,36),(35,37),(38,40),(41,44),(43,45),(46,51),(47,48),(54,55),(57,60)]
[(15,17),(16,26),(18,20),(21,24),(22,23),(25,30),(27,29),(28,35),(31,34),(32,38),(33,36),(37,46),(39,41),(40,43),(42,44),(45,51)]
[(8,15),(11,18),(12,22),(16,17),(19,21),(20,27),(23,26),(24,29),(25,31),(28,32),(30,34),(33,39),(35,38),(36,42),(37,40),(41,47),(43,50),(44,54),(45,46),(51,56)]
[(8,9),(10,15),(11,13),(12,16),(14,18),(17,22),(19,20),(21,27),(23,25),(24,28),(26,30),(29,35),(31,33),(32,37),(34,39),(36,41),(38,40),(42,47),(43,45),(44,48),(46,50),(49,54),(51,52),(53,56)]
[(4,8),(7,9),(10,11),(12,15),(13,14),(16,19),(17,18),(20,23),(21,22),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(40,42),(41,43),(44,45),(46,47),(48,49),(50,51),(52,54),(53,55),(56,58)]
[(4,5),(6,8),(7,10),(9,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,41),(42,43),(44,46),(45,47),(48,50),(49,51),(52,53),(54,55),(56,57),(58,60)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58),(59,60)]

Obtained by reduction of network for 64 inputs, L=525, D=20
Auto generated
Sorting network for 62 inputs, 506 CEs, 21 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11),(15,28),(16,27),(17,30),(18,29),(19,23),(20,21),(22,26),(24,25),(32,33),(34,41),(35,45),(36,39),(37,44),(38,43),(40,42),(46,59),(47,58),(48,61),(49,60),(50,54),(51,52),(53,57),(55,56)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13),(15,20),(16,22),(17,24),(18,19),(21,28),(23,29),(25,30),(26,27),(31,45),(32,36),(33,39),(34,38),(37,40),(41,43),(42,44),(46,51),(47,53),(48,55),(49,50),(52,59),(54,60),(56,61),(57,58)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14),(15,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28),(29,30),(31,38),(32,37),(33,40),(35,41),(36,42),(39,44),(43,45),(46,47),(48,49),(50,51),(52,54),(53,55),(56,57),(58,59),(60,61)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14),(15,17),(16,18),(19,25),(20,26),(21,22),(23,24),(27,29),(28,30),(31,37),(33,35),(34,36),(38,42),(39,41),(40,43),(44,45),(46,48),(47,49),(50,56),(51,57),(52,53),(54,55),(58,60),(59,61)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13),(15,46),(16,17),(18,27),(19,21),(20,22),(23,25),(24,26),(28,29),(31,34),(32,33),(35,38),(36,40),(37,39),(41,42),(43,44),(47,48),(49,58),(50,52),(51,53),(54,56),(55,57),(59,60)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13),(16,19),(17,21),(20,23),(22,25),(24,28),(26,29),(31,32),(33,34),(35,37),(38,40),(41,43),(42,44),(47,50),(48,52),(51,54),(53,56),(55,59),(57,60)]
[(0,31),(1,2),(3,5),(8,10),(11,12),(14,60),(16,47),(17,19),(18,21),(24,27),(26,28),(29,45),(32,33),(34,36),(39,41),(42,43),(48,50),(49,52),(55,58),(57,59)]
[(0,15),(1,32),(3,4),(5,6),(7,8),(9,10),(13,59),(14,29),(17,48),(18,20),(21,23),(22,24),(25,27),(28,44),(31,46),(34,35),(36,37),(38,39),(40,41),(45,60),(49,51),(52,54),(53,55),(56,58)]
[(1,16),(2,3),(4,5),(6,7),(8,9),(10,11),(13,28),(15,31),(18,19),(20,21),(22,23),(24,25),(26,27),(29,45),(32,47),(33,34),(35,36),(37,38),(39,40),(41,42),(44,59),(49,50),(51,52),(53,54),(55,56),(57,58)]
[(2,33),(3,34),(4,50),(5,6),(7,8),(9,40),(10,41),(11,61),(12,58),(16,32),(18,49),(19,35),(21,22),(23,24),(25,56),(26,57),(27,43),(28,44),(30,42),(36,37),(38,39),(52,53),(54,55)]
[(2,17),(3,18),(4,19),(5,51),(6,52),(7,38),(8,39),(10,25),(11,30),(12,27),(20,36),(21,37),(22,53),(23,54),(24,55),(33,48),(35,50),(41,56),(42,61),(43,58)]
[(4,15),(5,20),(6,21),(7,49),(8,23),(9,24),(12,19),(17,33),(22,34),(25,41),(27,43),(30,42),(36,51),(37,52),(38,57),(39,54),(40,55),(45,56),(59,61)]
[(1,4),(5,16),(6,17),(7,18),(8,31),(9,32),(10,33),(11,22),(13,20),(14,21),(19,35),(23,39),(24,40),(25,48),(26,38),(27,50),(28,51),(29,52),(34,53),(42,57),(43,54),(44,55),(60,61)]
[(7,11),(8,15),(9,16),(10,17),(14,25),(18,26),(19,31),(20,36),(21,37),(22,34),(23,46),(24,47),(29,48),(30,53),(35,39),(38,49),(43,50),(44,51),(45,52),(56,57)]
[(2,8),(3,9),(11,18),(12,23),(13,24),(20,32),(21,33),(26,38),(27,46),(28,47),(30,34),(36,40),(37,41),(42,53),(52,58),(55,56),(57,60)]
[(2,4),(5,8),(12,19),(13,20),(14,21),(22,26),(23,31),(24,32),(25,33),(27,35),(28,36),(29,37),(30,38),(34,49),(39,46),(40,47),(41,48),(51,53),(58,59)]
[(3,8),(12,15),(13,16),(14,17),(18,22),(19,23),(20,24),(21,25),(26,30),(27,31),(28,32),(29,33),(34,38),(35,39),(36,40),(37,41),(42,49),(43,46),(44,47),(45,48),(53,55),(56,58),(57,59)]
[(6,12),(7,13),(10,15),(11,16),(14,19),(17,23),(18,20),(21,27),(22,24),(25,31),(26,28),(29,35),(30,32),(33,39),(34,36),(37,43),(38,40),(41,46),(42,44),(45,50),(47,49),(48,54),(57,58)]
[(3,6),(7,9),(10,12),(11,13),(14,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,42),(41,43),(44,47),(45,46),(48,50),(49,51),(52,54)]
[(3,5),(6,8),(7,10),(9,12),(11,14),(13,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55)]
[(3,4),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 62 inputs, 511 CEs, 20 layers:

[(0,1),(2,20),(3,21),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(22,56),(23,57),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51),(52,54),(53,55),(58,60),(59,61)]
[(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55),(56,57),(58,59),(60,61)]
[(0,2),(3,20),(4,16),(5,6),(7,19),(8,48),(9,10),(11,51),(12,52),(13,14),(15,55),(17,18),(22,44),(23,56),(24,28),(25,26),(27,31),(29,30),(32,36),(33,34),(35,39),(37,38),(40,58),(41,42),(43,61),(45,46),(47,57),(49,50),(53,54),(59,60)]
[(0,8),(1,3),(2,44),(4,40),(5,17),(6,18),(7,43),(9,49),(10,50),(11,21),(12,24),(13,53),(14,54),(15,27),(16,28),(19,31),(22,32),(23,45),(25,29),(26,30),(33,37),(34,38),(35,47),(36,48),(39,51),(41,59),(42,60),(46,56),(52,58),(55,61)]
[(0,22),(1,9),(2,36),(3,45),(4,12),(5,41),(6,42),(7,15),(8,32),(10,20),(11,35),(13,25),(14,26),(16,52),(17,29),(18,30),(19,55),(21,47),(23,33),(24,40),(27,43),(28,58),(31,61),(34,46),(37,49),(38,50),(39,57),(44,48),(53,59),(54,60)]
[(0,4),(1,23),(2,24),(3,37),(5,13),(6,14),(7,11),(8,16),(9,33),(10,34),(12,22),(15,35),(17,53),(18,54),(19,21),(20,46),(25,41),(26,42),(27,39),(28,44),(29,59),(30,60),(31,51),(32,52),(36,40),(38,56),(43,57),(45,49),(47,55),(48,58)]
[(1,5),(2,8),(3,25),(4,12),(6,10),(9,17),(11,15),(13,23),(14,34),(16,22),(18,20),(19,27),(21,35),(24,36),(26,38),(28,32),(29,45),(30,50),(31,47),(33,53),(37,41),(39,43),(40,52),(42,56),(44,48),(46,54),(49,59),(51,61),(55,57)]
[(2,4),(3,9),(5,13),(8,12),(10,14),(11,19),(15,27),(16,32),(17,23),(18,26),(20,34),(21,47),(22,24),(25,37),(28,36),(29,33),(30,46),(31,43),(35,39),(38,42),(40,44),(41,53),(45,49),(48,52),(50,60),(51,55),(54,56),(57,61)]
[(3,5),(4,8),(9,13),(10,18),(12,16),(14,26),(15,19),(17,33),(20,46),(21,27),(22,28),(23,25),(24,36),(29,37),(30,42),(31,35),(32,40),(34,38),(39,43),(41,45),(44,48),(47,51),(49,53),(50,54),(55,57),(56,60)]
[(5,9),(12,22),(13,17),(14,18),(16,28),(20,26),(21,31),(23,29),(24,32),(25,37),(27,35),(30,34),(33,41),(36,40),(38,42),(39,47),(43,51),(45,49),(46,50),(54,56)]
[(8,12),(13,23),(16,22),(17,29),(19,21),(20,30),(24,28),(25,33),(26,34),(27,31),(32,36),(35,39),(37,41),(38,46),(40,44),(42,50),(43,47),(51,55)]
[(1,12),(3,16),(5,22),(6,28),(9,13),(10,32),(14,36),(17,23),(18,20),(25,29),(26,30),(27,49),(31,53),(33,37),(34,38),(35,59),(41,45),(42,46),(43,56),(47,60),(50,54)]
[(1,2),(4,6),(7,29),(8,10),(9,24),(11,33),(14,22),(15,37),(17,32),(18,40),(19,41),(20,44),(21,45),(26,48),(30,52),(31,46),(34,58),(39,54),(43,49),(53,55),(57,59)]
[(2,4),(3,8),(6,12),(7,13),(10,16),(11,26),(15,23),(18,24),(19,25),(20,28),(21,29),(27,33),(30,36),(34,40),(35,41),(37,52),(38,44),(39,45),(42,48),(47,53),(50,58),(51,57),(55,60),(59,61)]
[(7,20),(11,17),(13,30),(15,28),(19,34),(21,23),(25,27),(26,32),(29,44),(31,37),(33,50),(35,48),(36,38),(40,42),(41,58),(46,52)]
[(7,12),(11,16),(13,20),(15,22),(17,19),(21,36),(23,38),(24,26),(25,40),(27,42),(28,30),(29,31),(32,34),(33,35),(37,39),(41,50),(43,48),(44,46),(47,52),(51,58)]
[(5,7),(9,11),(12,14),(13,15),(16,18),(17,24),(19,26),(20,22),(21,28),(23,30),(25,32),(27,34),(29,36),(31,38),(33,40),(35,42),(37,44),(39,46),(41,43),(45,47),(48,50),(49,51),(52,54),(56,58)]
[(5,6),(7,10),(9,12),(11,16),(13,14),(15,17),(18,20),(19,22),(21,24),(23,26),(25,28),(27,29),(30,32),(31,33),(34,36),(35,38),(37,40),(39,42),(41,44),(43,45),(46,48),(47,52),(49,50),(51,54),(53,56),(57,58)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,24),(23,25),(26,28),(27,30),(29,32),(31,34),(33,36),(35,37),(38,40),(39,41),(42,44),(43,46),(45,48),(47,49),(50,52),(51,53),(54,56),(55,57),(58,60)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58),(59,60)]

Obtained by reduction of network for 64 inputs, L=525, D=20
Auto generated
Sorting network for 63 inputs, 515 CEs, 21 layers:

[(1,2),(3,10),(4,14),(5,8),(6,13),(7,12),(9,11),(15,28),(16,27),(17,30),(18,29),(19,23),(20,21),(22,26),(24,25),(31,44),(32,43),(33,46),(34,45),(35,39),(36,37),(38,42),(40,41),(47,60),(48,59),(49,62),(50,61),(51,55),(52,53),(54,58),(56,57)]
[(0,14),(1,5),(2,8),(3,7),(6,9),(10,12),(11,13),(15,20),(16,22),(17,24),(18,19),(21,28),(23,29),(25,30),(26,27),(31,36),(32,38),(33,40),(34,35),(37,44),(39,45),(41,46),(42,43),(47,52),(48,54),(49,56),(50,51),(53,60),(55,61),(57,62),(58,59)]
[(0,7),(1,6),(2,9),(4,10),(5,11),(8,13),(12,14),(15,16),(17,18),(19,20),(21,23),(22,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,39),(38,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,55),(54,56),(57,58),(59,60),(61,62)]
[(0,6),(2,4),(3,5),(7,11),(8,10),(9,12),(13,14),(15,17),(16,18),(19,25),(20,26),(21,22),(23,24),(27,29),(28,30),(31,33),(32,34),(35,41),(36,42),(37,38),(39,40),(43,45),(44,46),(47,49),(48,50),(51,57),(52,58),(53,54),(55,56),(59,61),(60,62)]
[(0,3),(1,2),(4,7),(5,9),(6,8),(10,11),(12,13),(15,47),(16,17),(18,27),(19,21),(20,22),(23,25),(24,26),(28,29),(32,33),(34,43),(35,37),(36,38),(39,41),(40,42),(44,45),(46,62),(48,49),(50,59),(51,53),(52,54),(55,57),(56,58),(60,61)]
[(0,1),(2,3),(4,6),(7,9),(10,12),(11,13),(16,19),(17,21),(20,23),(22,25),(24,28),(26,29),(32,35),(33,37),(36,39),(38,41),(40,44),(42,45),(48,51),(49,53),(52,55),(54,57),(56,60),(58,61)]
[(0,31),(1,2),(3,5),(8,10),(11,12),(14,61),(16,48),(17,19),(18,21),(24,27),(26,28),(29,45),(33,35),(34,37),(40,43),(42,44),(49,51),(50,53),(56,59),(58,60)]
[(0,15),(1,32),(3,4),(5,6),(7,8),(9,10),(13,60),(14,29),(17,49),(18,20),(21,23),(22,24),(25,27),(28,44),(31,47),(34,36),(37,39),(38,40),(41,43),(45,61),(50,52),(53,55),(54,56),(57,59)]
[(1,16),(2,3),(4,5),(6,7),(8,9),(10,11),(13,28),(15,31),(18,19),(20,21),(22,23),(24,25),(26,27),(29,45),(32,48),(34,35),(36,37),(38,39),(40,41),(42,43),(44,60),(50,51),(52,53),(54,55),(56,57),(58,59)]
[(2,33),(4,51),(5,6),(7,8),(10,41),(11,30),(12,59),(16,32),(18,50),(19,35),(20,36),(21,22),(23,24),(25,57),(26,58),(27,43),(28,44),(37,38),(39,40),(53,54),(55,56)]
[(2,17),(3,38),(4,19),(5,52),(6,53),(7,42),(8,39),(9,40),(10,25),(11,46),(12,27),(18,34),(21,37),(22,54),(23,55),(24,56),(30,62),(33,49),(35,51),(41,57),(43,59)]
[(3,22),(4,15),(5,20),(6,21),(7,50),(8,23),(9,24),(12,19),(17,33),(25,41),(26,34),(27,43),(30,46),(36,52),(37,53),(38,54),(39,55),(40,56),(42,58),(45,57),(61,62)]
[(1,4),(3,18),(5,16),(6,17),(7,26),(8,31),(9,32),(10,33),(11,38),(13,20),(14,21),(19,35),(23,39),(24,40),(25,49),(27,51),(28,52),(29,53),(30,54),(42,50),(43,55),(44,56),(46,58)]
[(7,18),(8,15),(9,16),(10,17),(14,25),(19,31),(20,36),(21,37),(22,38),(23,47),(24,48),(29,49),(34,42),(35,39),(43,51),(44,52),(45,53),(46,54),(58,60)]
[(2,8),(3,9),(11,22),(12,23),(13,24),(20,32),(21,33),(26,34),(27,47),(28,48),(30,38),(36,40),(37,41),(42,50),(53,59),(54,56),(60,61)]
[(2,4),(3,8),(11,26),(12,19),(13,20),(14,21),(22,34),(23,31),(24,32),(25,33),(27,35),(28,36),(29,37),(30,42),(38,50),(39,47),(40,48),(41,49),(56,57),(58,59)]
[(11,18),(12,15),(13,16),(14,17),(19,23),(20,24),(21,25),(22,26),(27,31),(28,32),(29,33),(30,34),(35,39),(36,40),(37,41),(38,42),(43,47),(44,48),(45,49),(46,50),(56,58),(57,59)]
[(6,12),(7,13),(10,15),(11,16),(14,19),(17,23),(18,20),(21,27),(22,24),(25,31),(26,28),(29,35),(30,32),(33,39),(34,36),(37,43),(38,40),(41,47),(42,44),(45,51),(46,48),(49,55),(50,52),(57,58),(59,60)]
[(5,6),(7,10),(9,12),(11,15),(13,14),(16,19),(17,18),(20,23),(21,22),(24,27),(25,26),(28,31),(29,30),(32,35),(33,34),(36,37),(38,39),(40,41),(42,43),(44,47),(45,46),(48,50),(49,51),(52,53),(54,55)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,42),(41,43),(44,45),(46,47),(48,49),(50,51),(52,54),(53,55)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56)]

Van Voorhis type (4,4)
Auto generated
Sorting network for 63 inputs, 519 CEs, 20 layers:

[(1,2),(3,21),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(23,57),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51),(52,54),(53,55),(56,58),(59,61),(60,62)]
[(0,1),(3,20),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(21,22),(23,56),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55),(57,58),(59,60),(61,62)]
[(0,3),(1,2),(4,16),(5,6),(7,19),(8,48),(9,10),(11,51),(12,52),(13,14),(15,55),(17,18),(20,21),(23,44),(24,28),(25,26),(27,31),(29,30),(32,36),(33,34),(35,39),(37,38),(40,59),(41,42),(43,62),(45,46),(47,58),(49,50),(53,54),(56,57),(60,61)]
[(0,8),(1,20),(2,21),(3,44),(4,40),(5,17),(6,18),(7,43),(9,49),(10,50),(11,22),(12,24),(13,53),(14,54),(15,27),(16,28),(19,31),(23,32),(25,29),(26,30),(33,37),(34,38),(35,47),(36,48),(39,51),(41,60),(42,61),(45,56),(46,57),(52,59),(55,62)]
[(0,23),(1,9),(2,10),(3,36),(4,12),(5,41),(6,42),(7,15),(8,32),(11,35),(13,25),(14,26),(16,52),(17,29),(18,30),(19,55),(20,56),(21,57),(22,47),(24,40),(27,43),(28,59),(31,62),(33,45),(34,46),(37,49),(38,50),(39,58),(44,48),(53,60),(54,61)]
[(0,4),(1,33),(2,34),(3,24),(5,13),(6,14),(7,11),(8,16),(9,45),(10,46),(12,23),(15,35),(17,53),(18,54),(19,22),(20,37),(21,38),(25,41),(26,42),(27,39),(28,44),(29,60),(30,61),(31,51),(32,52),(36,40),(43,58),(47,55),(48,59),(49,56),(50,57)]
[(1,5),(2,6),(3,8),(4,12),(9,17),(10,18),(11,15),(13,33),(14,34),(16,23),(19,27),(20,25),(21,26),(22,35),(24,36),(28,32),(29,49),(30,50),(31,47),(37,41),(38,42),(39,43),(40,52),(44,48),(45,53),(46,54),(51,62),(55,58),(56,60),(57,61)]
[(3,4),(5,13),(6,14),(8,12),(9,20),(10,21),(11,19),(15,27),(16,32),(17,33),(18,34),(22,47),(23,24),(25,37),(26,38),(28,36),(29,45),(30,46),(31,43),(35,39),(40,44),(41,53),(42,54),(48,52),(49,56),(50,57),(51,55),(58,62)]
[(4,8),(5,9),(6,10),(12,16),(13,20),(14,21),(15,19),(17,45),(18,46),(22,27),(23,28),(24,36),(25,33),(26,34),(29,37),(30,38),(31,35),(32,40),(39,43),(41,49),(42,50),(44,48),(47,51),(53,56),(54,57),(55,58)]
[(9,13),(10,14),(12,23),(16,28),(17,20),(18,21),(22,31),(24,32),(25,29),(26,30),(27,35),(33,37),(34,38),(36,40),(39,47),(41,45),(42,46),(43,51),(49,53),(50,54)]
[(8,12),(16,23),(17,25),(18,26),(19,22),(20,29),(21,30),(24,28),(27,31),(32,36),(33,41),(34,42),(35,39),(37,45),(38,46),(40,44),(43,47),(51,55)]
[(1,12),(2,28),(5,16),(6,32),(9,23),(10,36),(13,17),(14,18),(20,25),(21,26),(27,53),(29,33),(30,34),(31,56),(35,60),(37,41),(38,42),(43,54),(45,49),(46,50),(47,57),(51,61)]
[(1,3),(2,4),(6,8),(7,33),(10,23),(11,37),(13,24),(14,40),(15,41),(18,44),(19,45),(20,32),(21,48),(22,49),(26,52),(30,59),(31,42),(39,50),(43,53),(55,56),(58,60),(61,62)]
[(2,3),(4,12),(5,6),(7,17),(8,16),(11,21),(14,24),(15,25),(18,28),(19,29),(22,33),(26,36),(27,37),(30,40),(34,44),(35,45),(38,48),(39,49),(41,52),(46,59),(47,55),(51,58),(56,57),(60,61)]
[(7,18),(11,20),(15,28),(17,26),(19,30),(21,32),(22,25),(27,29),(31,41),(33,44),(34,36),(35,48),(37,46),(38,40),(42,52),(45,59)]
[(7,12),(11,16),(15,23),(17,18),(19,20),(21,24),(22,34),(25,36),(26,28),(27,38),(29,40),(30,32),(31,33),(35,37),(39,41),(42,44),(43,48),(45,46),(47,52),(51,59)]
[(7,9),(10,12),(11,13),(14,16),(15,17),(18,23),(19,21),(20,24),(22,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,38),(37,40),(39,42),(41,44),(43,45),(46,48),(47,49),(50,52),(51,53),(54,59)]
[(4,7),(8,9),(10,11),(12,15),(13,14),(16,18),(17,19),(20,23),(21,22),(24,25),(26,27),(28,30),(29,31),(32,34),(33,35),(36,37),(38,39),(40,41),(42,43),(44,46),(45,47),(48,51),(49,50),(52,53),(54,55),(58,59)]
[(4,5),(6,7),(8,10),(9,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,26),(25,27),(28,29),(30,31),(32,33),(34,35),(36,38),(37,39),(40,42),(41,43),(44,45),(46,47),(48,49),(50,51),(52,54),(53,55),(56,58),(57,59)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58),(59,60)]

Obtained by reduction of network for 64 inputs, L=525, D=20
Auto generated
Sorting network for 64 inputs, 521 CEs, 21 layers:

[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51),(52,54),(53,55),(56,58),(57,59),(60,62),(61,63)]
[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55),(56,57),(58,59),(60,61),(62,63)]
[(0,52),(1,2),(3,55),(4,48),(5,6),(7,51),(8,60),(9,10),(11,63),(12,56),(13,14),(15,59),(16,32),(17,18),(19,35),(20,24),(21,22),(23,27),(25,26),(28,44),(29,30),(31,47),(33,34),(36,40),(37,38),(39,43),(41,42),(45,46),(49,50),(53,54),(57,58),(61,62)]
[(0,20),(1,53),(2,54),(3,23),(4,28),(5,49),(6,50),(7,31),(8,36),(9,61),(10,62),(11,39),(12,16),(13,57),(14,58),(15,19),(17,33),(18,34),(21,25),(22,26),(24,52),(27,55),(29,45),(30,46),(32,56),(35,59),(37,41),(38,42),(40,60),(43,63),(44,48),(47,51)]
[(0,4),(1,21),(2,22),(3,7),(5,29),(6,30),(8,12),(9,37),(10,38),(11,15),(13,17),(14,18),(16,20),(19,23),(24,32),(25,53),(26,54),(27,35),(28,36),(31,39),(33,57),(34,58),(40,44),(41,61),(42,62),(43,47),(45,49),(46,50),(48,52),(51,55),(56,60),(59,63)]
[(0,8),(1,5),(2,6),(3,11),(4,12),(7,15),(9,13),(10,14),(16,40),(17,21),(18,22),(19,43),(20,44),(23,47),(24,28),(25,33),(26,34),(27,31),(29,37),(30,38),(32,36),(35,39),(41,45),(42,46),(48,56),(49,53),(50,54),(51,59),(52,60),(55,63),(57,61),(58,62)]
[(1,9),(2,10),(4,8),(5,13),(6,14),(7,11),(12,48),(15,51),(16,24),(17,41),(18,42),(19,27),(20,28),(21,45),(22,46),(23,31),(25,29),(26,30),(32,40),(33,37),(34,38),(35,43),(36,44),(39,47),(49,57),(50,58),(52,56),(53,61),(54,62),(55,59)]
[(4,16),(5,9),(6,10),(7,19),(8,24),(11,27),(13,49),(14,50),(17,25),(18,26),(20,32),(21,29),(22,30),(23,35),(28,40),(31,43),(33,41),(34,42),(36,52),(37,45),(38,46),(39,55),(44,56),(47,59),(53,57),(54,58)]
[(1,4),(5,17),(6,18),(8,16),(9,25),(10,26),(11,19),(12,24),(15,27),(21,33),(22,34),(29,41),(30,42),(36,48),(37,53),(38,54),(39,51),(44,52),(45,57),(46,58),(47,55),(59,62)]
[(2,8),(9,17),(10,18),(12,20),(13,25),(14,26),(15,23),(24,32),(27,35),(28,36),(31,39),(37,49),(38,50),(40,48),(43,51),(45,53),(46,54),(55,61)]
[(2,4),(12,16),(13,21),(14,22),(15,19),(20,24),(23,27),(25,33),(26,34),(28,32),(29,37),(30,38),(31,35),(36,40),(39,43),(41,49),(42,50),(44,48),(47,51),(59,61)]
[(4,16),(5,20),(10,40),(13,17),(14,18),(21,25),(22,26),(23,53),(24,28),(27,31),(29,33),(30,34),(32,36),(35,39),(37,41),(38,42),(43,58),(45,49),(46,50),(47,59)]
[(3,17),(6,36),(7,21),(8,32),(9,24),(11,41),(13,28),(14,44),(15,45),(18,48),(19,49),(22,52),(25,29),(26,30),(27,57),(31,55),(33,37),(34,38),(35,50),(39,54),(42,56),(46,60)]
[(6,20),(8,16),(10,24),(11,25),(14,28),(15,29),(17,33),(18,32),(21,37),(22,36),(26,42),(27,41),(30,46),(31,45),(34,48),(35,49),(38,52),(39,53),(43,57),(47,55)]
[(3,18),(5,8),(6,12),(7,22),(15,21),(17,32),(19,33),(23,37),(26,40),(30,44),(31,46),(41,56),(42,48),(45,60),(51,57),(55,58)]
[(3,16),(7,20),(11,26),(18,24),(19,25),(22,28),(23,29),(27,33),(30,36),(34,40),(35,41),(37,52),(38,44),(39,45),(43,56),(47,60)]
[(3,9),(7,13),(10,16),(11,17),(14,20),(15,30),(19,34),(21,36),(23,38),(25,40),(26,32),(27,42),(29,44),(31,37),(33,48),(43,49),(46,52),(47,53),(50,56),(54,60)]
[(3,8),(7,10),(9,12),(11,18),(13,14),(15,24),(17,22),(19,28),(21,26),(23,25),(27,34),(29,36),(30,32),(31,33),(35,44),(37,42),(38,40),(39,48),(41,46),(45,52),(49,50),(51,54),(53,56),(55,60)]
[(3,6),(7,12),(11,16),(15,17),(18,20),(19,24),(21,22),(23,30),(25,32),(26,28),(27,29),(31,38),(33,40),(34,36),(35,37),(39,44),(41,42),(43,45),(46,48),(47,52),(51,56),(57,60)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,24),(23,26),(25,28),(27,30),(29,32),(31,34),(33,36),(35,38),(37,40),(39,41),(42,44),(43,46),(45,48),(47,49),(50,52),(51,53),(54,56),(55,57),(58,60)]
[(3,4),(7,8),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(55,56),(59,60)]

Same size as Van Voorhis (g=4,d=4) sorter - see [VVoorh71b]. This network uses a prefix of 16 4-sorters followed by 4 16-sorters of 60 elements orthogonally connected and requires one layer less. Note that the referenced document by Van Voorhis provides an efficient construction method for input sizes of larger powers of 2, which are far beyond the scope of this list.
Auto generated
Sorting network for 64 inputs, 525 CEs, 20 layers:

[(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(29,31),(32,34),(33,35),(36,38),(37,39),(40,42),(41,43),(44,46),(45,47),(48,50),(49,51),(52,54),(53,55),(56,58),(57,59),(60,62),(61,63)]
[(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(30,31),(32,33),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55),(56,57),(58,59),(60,61),(62,63)]
[(0,20),(1,2),(3,23),(4,16),(5,6),(7,19),(8,48),(9,10),(11,51),(12,52),(13,14),(15,55),(17,18),(21,22),(24,28),(25,26),(27,31),(29,30),(32,36),(33,34),(35,39),(37,38),(40,60),(41,42),(43,63),(44,56),(45,46),(47,59),(49,50),(53,54),(57,58),(61,62)]
[(0,8),(1,21),(2,22),(3,11),(4,40),(5,17),(6,18),(7,43),(9,49),(10,50),(12,24),(13,53),(14,54),(15,27),(16,28),(19,31),(20,56),(23,59),(25,29),(26,30),(32,44),(33,37),(34,38),(35,47),(36,48),(39,51),(41,61),(42,62),(45,57),(46,58),(52,60),(55,63)]
[(0,32),(1,9),(2,10),(3,35),(4,12),(5,41),(6,42),(7,15),(8,44),(11,47),(13,25),(14,26),(16,52),(17,29),(18,30),(19,55),(20,36),(21,57),(22,58),(23,39),(24,40),(27,43),(28,60),(31,63),(33,45),(34,46),(37,49),(38,50),(48,56),(51,59),(53,61),(54,62)]
[(0,4),(1,33),(2,34),(3,7),(5,13),(6,14),(8,16),(9,45),(10,46),(11,19),(12,32),(15,35),(17,53),(18,54),(20,24),(21,37),(22,38),(23,27),(25,41),(26,42),(28,48),(29,61),(30,62),(31,51),(36,40),(39,43),(44,52),(47,55),(49,57),(50,58),(56,60),(59,63)]
[(1,5),(2,6),(4,12),(7,15),(8,20),(9,17),(10,18),(11,23),(13,33),(14,34),(16,32),(19,35),(21,25),(22,26),(24,36),(27,39),(28,44),(29,49),(30,50),(31,47),(37,41),(38,42),(40,52),(43,55),(45,53),(46,54),(48,56),(51,59),(57,61),(58,62)]
[(4,8),(5,13),(6,14),(7,11),(9,21),(10,22),(12,20),(15,23),(16,44),(17,33),(18,34),(19,47),(24,32),(25,37),(26,38),(27,35),(28,36),(29,45),(30,46),(31,39),(40,48),(41,53),(42,54),(43,51),(49,57),(50,58),(52,56),(55,59)]
[(5,9),(6,10),(8,12),(11,15),(13,21),(14,22),(16,20),(17,45),(18,46),(19,23),(24,28),(25,33),(26,34),(27,31),(29,37),(30,38),(32,36),(35,39),(40,44),(41,49),(42,50),(43,47),(48,52),(51,55),(53,57),(54,58)]
[(9,13),(10,14),(16,24),(17,21),(18,22),(19,27),(20,28),(23,31),(25,29),(26,30),(32,40),(33,37),(34,38),(35,43),(36,44),(39,47),(41,45),(42,46),(49,53),(50,54)]
[(12,16),(15,19),(17,25),(18,26),(20,24),(21,29),(22,30),(23,27),(28,32),(31,35),(33,41),(34,42),(36,40),(37,45),(38,46),(39,43),(44,48),(47,51)]
[(1,16),(2,32),(5,20),(6,36),(9,24),(10,40),(13,17),(14,18),(21,25),(22,26),(23,53),(27,57),(29,33),(30,34),(31,61),(37,41),(38,42),(39,54),(43,58),(45,49),(46,50),(47,62)]
[(1,4),(2,8),(3,33),(6,12),(7,37),(10,24),(11,41),(13,28),(14,44),(15,45),(18,48),(19,49),(21,36),(22,52),(26,56),(27,42),(30,60),(35,50),(39,53),(51,57),(55,61),(59,62)]
[(2,4),(3,17),(5,6),(7,22),(8,16),(11,25),(12,20),(14,28),(15,29),(18,32),(19,33),(23,37),(26,40),(30,44),(31,45),(34,48),(35,49),(38,52),(41,56),(43,51),(46,60),(47,55),(57,58),(59,61)]
[(3,18),(7,21),(11,32),(15,30),(17,26),(19,25),(22,36),(23,29),(27,41),(31,52),(33,48),(34,40),(37,46),(38,44),(42,56),(45,60)]
[(3,16),(7,20),(11,24),(15,21),(17,18),(19,34),(22,28),(23,38),(25,40),(26,32),(27,33),(29,44),(30,36),(31,37),(35,41),(39,52),(42,48),(43,56),(45,46),(47,60)]
[(3,9),(7,13),(10,16),(11,17),(14,20),(15,22),(18,24),(19,26),(21,28),(23,30),(25,32),(27,34),(29,36),(31,38),(33,40),(35,42),(37,44),(39,45),(41,48),(43,49),(46,52),(47,53),(50,56),(54,60)]
[(3,8),(7,10),(9,12),(11,16),(13,14),(15,17),(18,20),(19,22),(21,24),(23,26),(25,28),(27,29),(30,32),(31,33),(34,36),(35,38),(37,40),(39,42),(41,44),(43,45),(46,48),(47,52),(49,50),(51,54),(53,56),(55,60)]
[(3,5),(6,8),(7,9),(10,12),(11,13),(14,16),(15,18),(17,20),(19,21),(22,24),(23,25),(26,28),(27,30),(29,32),(31,34),(33,36),(35,37),(38,40),(39,41),(42,44),(43,46),(45,48),(47,49),(50,52),(51,53),(54,56),(55,57),(58,60)]
[(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(29,30),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58),(59,60)]

prefix of 16 4-sorters followed by 4 16-sorters of 61 elements orthogonally connected
Auto generated

References

[Baddar09]Sherenaz W. Al-Haj Baddar. Finding Better Sorting Networks. Dissertation submitted to Kent State University in partial fulfillment of the requirements for the degree of Doctor of Philosophy, 2009.
[BZ14]D. Bundala, J. Závodný. Optimal sorting networks. In LATA 2014, volume 8370 of LNCS, Springer, 2014.
[CCEMS16]M. Codish, L. Cruz-Filipe, T. Ehlers, M. Müller, P. Schneider-Kamp. Sorting networks: To the end and back again, Journal of Computer and System Sciences, 28 April 2016.
[CCFS16]M. Codish, L. Cruz-Filipe, M. Frank, P. Schneider-Kamp. Sorting nine inputs requires twenty-five comparisons. Journal of Computer and System Sciences, Vol. 82 iss. 3, May 2016.
[Ehlers17]T. Ehlers. Merging almost sorted sequences yields a 24-sorter. Information Processing Letters Vol. 118 Issue C, February 2017.
[EM14]T. Ehlers and M. Müller. Faster Sorting Networks for 17, 19 and 20 Inputs, 2014.
[Fon18]José A. R. Fonollosa. Joint Size and Depth Optimization of Sorting Networks, 2018.
[Harder19]Harder, Jannis. "sortnetopt". GitHub. Retrieved 7 December 2019.
[Par89]Parberry, Ian. A computer assisted optimal depth lower bound for sorting networks with nine inputs, 1989.
[Par92]Parberry, Ian. The Pairwise Sorting Network, 1992.
[TAOCPv3]D. E. Knuth. The art of computer programming, vol. 3: Sorting and Searching, 2nd edition. Addison-Wesley, 1998.
[VM13]V. K. Valsalam and R. Miikkulainen. Using symmetry and evolutionary search to minimize sorting networks. Journal of Machine Learning Research, 14:303–331, 2013.
[VVoorh71a]D. C. Van Voorhis. A Generalization of the Divide-Sort-Merge Strategy for Sorting Networks, Stanford University, STAN-CS-71-237 SU-SEL-71-050, 1971.
[VVoorh71b]D. C. Van Voorhis. Large [g,d] Sorting Networks, Stanford University, STAN-CS-71-239 SU-SEL-71-052, 1971.

History

2024-10-27Improved size for 26 inputs.
2024-05-19Minor improvements for networks of size 36, 39 and 40.
2024-02-25Improved sizes for 37 and 42 inputs, minor improvements for 25, 51 and 52 inputs.
2023-12-16Minor improvements for networks of size 30, 33...35, 41, 42, 45...48 and 54.
2023-11-09Improved depth and size for 43 and 44 inputs, improved depth for 42 inputs. Minor improvements for 26, 27, 35, 38 and 41 inputs.
2022-12-24Improved size for 38, 41 and 42 inputs. Minor improvements for 34, 37, 39 and 40 inputs.
2022-11-27Improved size for 27, 39 and 40 inputs. Minor improvements for 37 and 44 inputs.
2022-09-18Minor improvement for 28 inputs.
2022-07-11Minor improvements for 39, 40 and 49...52 inputs.
2022-07-04Improved size for 25 inputs, minor improvement for 24 inputs.
2022-06-20Using symmetric network for 14 inputs, 9 layers. Minor improvements for 25, 26, 33, 37 and 38 inputs.
2022-06-06Smaller network for 34 and 40 inputs. Minor improvements for 33 and 35...39 inputs.
2022-05-28Minor improvements for 21, 22, 23, 25, 26, 45, 53, 58, 60 and 61 inputs.
2022-05-17Smaller network for 45 inputs. Minor improvements for 18 and 42 inputs. Replaced networks for 22 inputs by symmetric variants with identical metrics.
2022-05-07Smaller networks for 45, 54, 55 and 56 inputs. Minor improvements for 37 and 50 inputs.
2022-04-26Smaller networks for 36 inputs.
2022-04-23Smaller networks for 46, 47 and 48 inputs. Minor improvements for 51 and 52 inputs.
2022-03-12Smaller networks for 37, 41, 43, 44, 56...58 inputs. Minor improvements for 47, 48, 53...55 and 59...64 inputs. Applying prefixes with orthogonally arranged smaller sorters and Van Voorhis style merges with unequal splits.
2022-02-27Smaller networks for 37, 38, 39 and 40 inputs. Minor improvements for 43, 51 and 55 inputs.
2022-02-20Smaller networks for 35 and 36 inputs.
2022-02-15Initial version of extended list up to 64 inputs. Small improvement for 29 inputs.
2022-01-23Improved size for 29 inputs.
2022-01-21Small improvement for 27 inputs.
2022-01-15Improved size for 22 inputs. Browser compatibility fix.
2022-01-09Small improvements for 23 and 27 inputs, add OEIS links.
2022-01-02Improved size for 21, 23, 25 and 27 inputs using similarly structured prefix. Small improvements for 22 and 28 inputs.
2021-12-28Small improvement for 19 inputs. Use JavaScript based generation of diagrams. Add reference for size 9 and 10 depth optimality.
2020-07-04Improved size for 18 inputs. Small improvement for 22 inputs.
2020-06-30Combining best depth and size in a single network for 21 inputs.
2020-06-27Small improvement for networks of 29...32 inputs and 14 layers.
2020-06-16Improved depth upper bound for 25 and 26 inputs.
2020-06-07Editorials and small improvement for 22 inputs.
2020-05-30Update lower size bounds.
2018-07-18Improved sizes for 23, 24, 25 and 26 inputs. Small improvement for 21 inputs.
2018-06-12Improved size for 21 inputs. Small improvements for 22 inputs. Add findings from [Fon18]
2018-01-02Add improved size for 22 inputs. Add 'bounds' columns to summary table. Small improvements to 17, 21 and 22 input combinations.
2017-12-27Initial draft list

Page updated on Sun Oct 27 14:31:02 2024

See SorterHunter repo for previous versions.