now when you flag that a patients tag and the rest of their pictures are in the wrong order they are still grouped together and they are also put into the correct order