'Returns an ordered list of googledatastore.PropertyOrder.
Args:
adapter: A datastore_rpc.AbstractAdapter'

def _to_pb_v1(self, adapter):

    return [order._to_pb_v1(adapter) for order in self._orders]
