An IP based virtual host web server only makes sense if you have multiple network cards or some forwarding mechanism in your router. It is possible to configure multiple IP addresses for the same network card as well.
But in most cases name based virtual hosting make more sense, and domains will be sorted (obviously) by name. But note that for each request that accesses your server by IP-address directly, that request will be lead to your first virtual site, which is the default. Make sure to add an alias for each domain/virtual host to recognise bioth both
www.domain.com and domain.com styled names.
linux