add sort tables and filter for paintings