Fix/paginated table markup

Closes #2271

- Re-compile cells when rows are sorted
  - Fixes popularity controls in index pattern fields
- **Bonus**: Fix number sorting