Can you check the existing calls to this procedure and see if the callers are already sorting the output? It might make sense to default to sorted output, I don't see much use for unsorted output.