Ordering of IpAddressField ist not natural
|Reported by:||django@…||Owned by:||adrian|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The ordering of IpAddressField is not natural which doesn't look very well on large lists.
I think for platform and backwards compatibility a change to a interger field are out of scope.
I found http://www.jimgrill.com/pages/content/sortip which would allow at least with mysql a natural sorting of IpAddressFields. For Postgresql i haven't found a function yet, only for the inet/cidr row types.