lib: add naturalSort (move the example IPs to private space)
This commit is contained in:
parent
25c2fd80b1
commit
3f8c9106ea
@ -417,8 +417,8 @@ rec {
|
||||
Example:
|
||||
naturalSort ["disk11" "disk8" "disk100" "disk9"]
|
||||
=> ["disk8" "disk9" "disk11" "disk100"]
|
||||
naturalSort ["46.133.149.113" "5.16.62.13" "54.16.25.114"]
|
||||
=> ["5.16.62.13" "46.133.149.113" "54.16.25.114"]
|
||||
naturalSort ["10.46.133.149" "10.5.16.62" "10.54.16.25"]
|
||||
=> ["10.5.16.62" "10.46.133.149" "10.54.16.25"]
|
||||
naturalSort ["v0.2" "v0.15" "v0.0.9"]
|
||||
=> [ "v0.0.9" "v0.2" "v0.15" ]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user