add functions - sort pictures and delete galleries

Signed-off-by: Patrick Konstandin <support@flatfiler.de>