Fix test by sorting values array (because key order is not determinate)
Fix test by sorting values array (because key order is not determinate)

0b1kn00b/thx.core,andywhite37/thx.core,fponticelli/thx.core,mlms13/thx.core