tried to fix picture sort, no picture sort seems to work, picture sort is acting weird