Sort instances by address