fix Array#sort doesnot stable sort