docs: def get_and_order(self, ids, column=None, table=None):
          """Get specific entries and order them in the same way."""
          command = """
          SELECT rowid, * from "data"
          WHERE rowid in (%s)
          ORDER BY CASE rowid
          %s
          END;
          """
          ordered = ','.join(map(str,ids))
          rowids  = '\n'.join("WHEN '%s' THEN %s" % (row,i) for i,row in enumerate(ids))
          command = command % (ordered, rowids)