code: def update_order(uid, order):
          '''
          Update the order of the posts.
          '''
          entry = TabPost.update(
              order=order
          ).where(TabPost.uid == uid)
          entry.execute(f update_order(uid, order):
          '''
          Update the order of the posts.
          '''
          entry = TabPost.update(
              order=order
          ).where(TabPost.uid == uid)
          entry.execute()
docs: Update the order of the posts.