docs: private StringBuilder appendPagingSortSQL(final StringBuilder sql, final Post.Sort sort,final Paging paging) {
  
        if(paging.interval != null) {
           sql.append(" AND post_date");
           sql.append(paging.startIsOpen ? " >" : " >=");
           sql.append("?");
  
           sql.append(" AND post_date");
           sql.append(paging.endIsOpen ? " <" : " <=");
           sql.append("?");
        }
  
        switch(sort) {
           case ASC:
              sql.append(" ORDER BY post_date ASC");
              break;
           case DESC:
              sql.append(" ORDER BY post_date DESC");
              break;
           case ASC_MOD:
              sql.append(" ORDER BY post_modified ASC");
              break;
           case DESC_MOD:
              sql.append(" ORDER BY post_modified DESC");
              break;
           case ID_ASC:
              sql.append(" ORDER BY ID ASC");
              break;
           case ID_DESC:
              sql.append(" ORDER BY ID DESC");
              break;
           default:
              sql.append(" ORDER BY post_date DESC");
              break;
        }
        sql.append(" LIMIT ?,?");
        return sql;
     }