libstd sort test