stable sort preserves ties in orderby