resolves widget sort issue, closes #6