Mwnci rsortips() Function

Syntax

rsortips(array)

Description

The rsortips() function returns an array of IP addresses in descending order.

Ips=["192.168.0.0", "192.168.0.69", "192.168.0.22", "192.168.0.122", "192.168.0.87", "192.168.0.72"]
SortedIps=rsortips(Ips)
println(SortedIps)


["192.168.0.122", "192.168.0.87", "192.168.0.72", "192.168.0.69", "192.168.0.22", "192.168.0.0"]