When removing a movie from the movie queue, we update the order of each movie. The code was assuming the movies in the vm.movies array were already sorted by order, which is not the case. The fix is to sort them before updating their order properties.
This fixes #105, which Dustin found today.
When removing a movie from the movie queue, we update the
order
of each movie. The code was assuming the movies in thevm.movies
array were already sorted byorder
, which is not the case. The fix is to sort them before updating theirorder
properties.