7.14. Sorting Dotted-Quad IP Values in Numeric Order
7.14.1. Problem
You want
to sort strings that represent IP numbers in numeric
order.
7.14.2. Solution
Break apart the strings, and sort the pieces numerically. Or
just use
INET_ATON( ).
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial