Changed sorting by picture to a checkbox