systematically check icon refs and sort files