Ensure solutions are passed to writers in a consistent order.