Enable host sorting

Closes #17