Posted on 2017090520180118 by egomysql sort_by INET_ATON Ordenar una lista de IPs correctamente: SELECT * FROM hosts ORDER BY INET_ATON('ipaddr');