Add sort by block to library page