Enhancement: Allow drag and drop reordering of TVs in Template TV grid
Trying to account for categories and pagination
Refactor code based on @rtripault 's suggestion
Adds an Edit TV context menu for template TV rows
Merge remote-tracking branch 'upstream/pr/11560' into pr/11560

* upstream/pr/11560:
  Adds an Edit TV context menu for template TV rows
  Refactor code based on @rtripault 's suggestion
  Trying to account for categories and pagination
  Enhancement: Allow drag and drop reordering of TVs in Template TV grid