Updated sort and stable sort tests