Two CArrayDataProvider sorting bugs


There are two issues with CArrayDataProvider sorting:

  1. CArrayDataProvider does not recognize usual "SORT_ASC" and "SORT_DESC" constants provided with CSort object. Only old "TRUE" and "FALSE" arguments are recognized.

  2. CArrayDataProvider sorting algorythm what is PHP’s ‘array_multisort’ function is case sensitive what is inconsistent with MySQL sorting order. Rather nasty workaround is extending the class as described here:


I consider both issues being bugs not features but I decided to consult here prior reporting it as actual bugs. Please advise!