* The “ddTools::sort2dArray” method is used for sorting instead of the local function.
* Be advised! The snippet is now using the modx.ddTools 0.11 library!