Thread:Extension talk:DynamicPageList (Wikimedia)/Code suggestion: Sort by page title w/o specific category

Hi,

Couldn't find a way to simply sort all pages by title so I'd like to suggest one:

Code suggestion
foreach ( $parameters as $parameter ) { ...  case 'sorttitle': ...    case 'ordermethod': switch ( $arg ) { $orderMethod = 'sorttitle'; break; ...

followed by:

switch ( $orderMethod ) { ...  case 'sorttitle': $sqlSort = 'page_title'; break; ...

Possible issue

 * I guess the code will need to assert in case a category was selected, but all in all - how does this sound?

Plain vanilla usage
 namespace= ordermethod=sorttitle order=ascending 