joplin-plugin-markdown-table-sortable icon indicating copy to clipboard operation
joplin-plugin-markdown-table-sortable copied to clipboard

Problem Sorting IP Addresses

Open ISSchuster opened this issue 7 months ago • 1 comments

Hi, great plugin but there is a problem sorting IP Addresses...

Follwing Table:

Server IP User Password
server01 10.61.5.234 root 123456
server02 10.61.5.232 root 123456
server03 10.61.5.231 root 123456
server04 10.61.5.235 root 123456
server05 10.61.5.236 root 123456
server06 10.61.5.237 root 123456

Sorting by IP results in: 10.61.5.234 10.61.5.232 10.61.5.231 10.61.5.235 10.61.5.236 10.61.5.237

or

10.61.5.237 10.61.5.236 10.61.5.235 10.61.5.231 10.61.5.232 10.61.5.234

Doesn't seem quiet right ;-) Any idea for a solution.

Seems it doesn't get sorted at all - even as text it should be sorted correctly?

I often have lists with IP Addresses and would like to sort them.

Thanks.

Just did some more tests: I replaced the . with a - 10-61-5-234 and so on is sorted correctly... But that's not an IP anymore ;-)

ISSchuster avatar Jul 09 '24 13:07 ISSchuster