In current version of sortableListener::postFlush an array of updatedObjects is initialized before the great loop und this array is then executed after each iteration, leading to a situation where the updatedObjects from the first iteration are updated over and over again.
To solve this the initialization of $updatedObjects should be moved inside the foreach-loop or executing the updates from this array should be moved out of the loop.
In current version of sortableListener::postFlush an array of updatedObjects is initialized before the great loop und this array is then executed after each iteration, leading to a situation where the updatedObjects from the first iteration are updated over and over again.
To solve this the initialization of $updatedObjects should be moved inside the foreach-loop or executing the updates from this array should be moved out of the loop.