- 1

How to sort list of ipv4

In java

16th Oct 2019, 8:26 AM
Rohit pachori
Rohit pachori - avatar
3 ответов
+ 2
idk of it'll work. > format the up correctly with leading 0 > remove dot > treat them as a number > sort
16th Oct 2019, 8:37 AM
Taste
Taste - avatar
+ 2
as i said, treat them as number for example 65.32.200.3 become 65032200003
16th Oct 2019, 8:39 AM
Taste
Taste - avatar
- 1
Normal sorting will not work
16th Oct 2019, 8:38 AM
Rohit pachori
Rohit pachori - avatar