Use arrays for better sorting of pools hosts

Signed-off-by: Vlad <vg@vladgh.com>