Beta output sorted fix