In my test cases the element output is ordered, but that could just be because my test case is very simple.
Is the semantics of this function intended to always produce ordered output?
It'd be nice to know I don't need to sort output in cases that require it.