Make format tables sortable

Same as PR #383, but for `develop` branch.