Added get_folder_image_list method to Gallery model to cope with custom sorting