<p dir="auto">Symfony default behaviour for handling reordering in collection type is wrong.</p>
<p dir="auto">When you reorder to items saved in database as:</p>
<p dir="auto">id: 56, name: first, order: 0<br>
id: 57, name: second, order: 1</p>
<p dir="auto">After changing they positions I receive:</p>
<p dir="auto">id: 56, name: second, order: 0<br>
id: 57, name: first, order: 1</p>
<p dir="auto">Instead of:</p>
<p dir="auto">id: 56, name: first, order: 1<br>
id: 57, name: second, order: 0</p>
<p dir="auto">Last occurrence at version 2.0.15</p>
<p dir="auto">I expected to get an exact copy of the original with only my passed params merged in, as per docs.</p>
<p dir="auto"><a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Request.php#L393">https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Request.php#L393</a></p>
<p dir="auto">What is the purpose of this nulling process?</p>
<p dir="auto">thanks!</p>