array check for sort / assort
 ksort and assort for only array body
code update for Guzzle 4.0