If I try to sort an ArrayList I get an InvalidArgumentException "You can't pass SQL fragments to sort()". Due to the stack trace the following command was executed causing the exception:
ArrayList->sort(SilvercartProduct.ProductNumberShop ASC)
If I remove ' ASC' from the string everything works fine.
I think the API doc of the function ArrayList::sort() is wrong because it says you could add the sort order to the parameter as a string. Should I adjust the API doc or am I getting something wrong?