# Fail2Ban Jail Logs - Sort only sorts the current page of results

**URL:** <https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785>\
**Category:** Webmin\
**Tags:** duplicate\
**Created:** [June 14, 2025, 6:41am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785 "2025-06-14T06:41:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevepburgess](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stevepburgess/32/16626_2.png) [@stevepburgess](https://forum.virtualmin.com/u/stevepburgess)\
**Post date:** [June 14, 2025, 6:41am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785/1 "2025-06-14T06:41:01Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 24.04.2 |
| Webmin version | 2.303 |

Relatively minor issue but when you have a “Jail” with multiple pages of blocked IPs, sorting by “End Time” (or any other heading) only sorts the entries on the current page.

I want to see the IPs with longest blocks first as these are the “repeat offenders” who I might consider reporting to their ISP but to do this it’s necessary to navigate to the last page in the report. I can totally do that - but intuitively I feel the sort should sort the whole list not just the current page of the list.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [June 15, 2025, 3:04am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785/2 "2025-06-15T03:04:20Z")

</div>

Asked nearly two years ago, alas no response.

[https://forum.virtualmin.com/t/fail2ban-wish-list/122258](https://forum.virtualmin.com/t/fail2ban-wish-list/122258)

---

<div class="post-metadata">

**Author:** ![stevepburgess](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stevepburgess/32/16626_2.png) [@stevepburgess](https://forum.virtualmin.com/u/stevepburgess)\
**Post date:** [June 15, 2025, 3:16am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785/3 "2025-06-15T03:16:11Z")

</div>

Ah thanks. Did do a search first but nothing came up.

Thanks for response 🙂

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [June 15, 2025, 7:43am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785/4 "2025-06-15T07:43:53Z")

</div>

Thanks for the heads-up! I will reply to that ticket and suggest we continue the discussion there.

> [@Fail2ban wish list](https://forum.virtualmin.com/t/fail2ban-wish-list/122258):
>
> Fail2ban Jail Status. Would it be possible to sort all entries then display a page at a time rather than just sorting within a page? Could we save the list as a file? Fail2ban Log Filters Have the jails also show \*.local as well as \*.conf files. At present if you have both it only displays the content of the .local file whixh is useful for editing, but self made .local files without a .conf file don’t show at all Filter Action Jails After viewing/editing a jail, could there be options suc…

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [June 15, 2025, 7:44am UTC](https://forum.virtualmin.com/t/fail2ban-jail-logs-sort-only-sorts-the-current-page-of-results/133785/5 "2025-06-15T07:44:00Z")

</div>

Closed on June 15, 2025, 7:44am UTC


