1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
6 export default class OrderBuilder {
7 private order: string[] = [];
9 addAsc(attribute: string) {
10 this.order.push(`${attribute} asc`);
14 addDesc(attribute: string) {
15 this.order.push(`${attribute} desc`);