[GH-ISSUE #996] Several sorting issues #642

Open
opened 2026-03-02 16:00:28 +03:00 by kerem · 1 comment
Owner

Originally created by @smalos on GitHub (Mar 22, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/996

There are several sorting issues that need to be addressed to improve the user experience:

Sorting by Name: To maintain consistency, the "go back" icon (represented as "...") should always remain at the top of the list. However, it has been observed that the icon shifts to the bottom or even the middle when the sorting order is changed. This behavior should be corrected to ensure the icon stays at the top.

Sorting by Size: The current sorting mechanism does not correctly account for the units of file size (KB, B, MB, etc.). As a result, the sort order is incorrect, leading to confusion. The sorting algorithm should be refined to accurately sort files by their size, taking into consideration the respective units.

Sorting by Date Format: The current sorting feature does not properly handle date formats, such as "22.02.2023 11:01:05." Consequently, the sorting by date functionality is not working as expected. To resolve this issue, the date parsing and sorting logic should be improved to handle various date formats and ensure accurate sorting.

Originally created by @smalos on GitHub (Mar 22, 2023). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/996 There are several sorting issues that need to be addressed to improve the user experience: **Sorting by Name:** To maintain consistency, the "go back" icon (represented as "...") should always remain at the top of the list. However, it has been observed that the icon shifts to the bottom or even the middle when the sorting order is changed. This behavior should be corrected to ensure the icon stays at the top. **Sorting by Size:** The current sorting mechanism does not correctly account for the units of file size (KB, B, MB, etc.). As a result, the sort order is incorrect, leading to confusion. The sorting algorithm should be refined to accurately sort files by their size, taking into consideration the respective units. **Sorting by Date Format:** The current sorting feature does not properly handle date formats, such as "22.02.2023 11:01:05." Consequently, the sorting by date functionality is not working as expected. To resolve this issue, the date parsing and sorting logic should be improved to handle various date formats and ensure accurate sorting.
Author
Owner

@prasathmani commented on GitHub (Mar 22, 2023):

@smalos , Thank you for reporting the sorting issues, I will try to fix it in feature release.

<!-- gh-comment-id:1479695547 --> @prasathmani commented on GitHub (Mar 22, 2023): @smalos , Thank you for reporting the sorting issues, I will try to fix it in feature release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#642
No description provided.