Added STATE_ERROR to sorting status message