Add stable sort test to functions.json