title: Kentico 10 Macro List of PageType
body: <p>I am looking for a solution to display the list of pages corresponding to a defined pagetype. I have the solution below in ASCX but I am looking for the correspondence in macro for Kentico 10.</p>
  
  <p>This macro will be used in a multiple choice field in a type page.</p>
  
  <p><code>DocumentHelper.GetDocuments("MyPageType").OnCurrentSite().OrderByAscending("MyField");</code></p>