(mut self, logic: CsvLogic, col: &str, op: CsvCompare, value: &str)
| 670 | pub fn order_by(mut self, col: &str, order: CsvOrder) -> Self { |
| 671 | self.sort = Some(CsvSort { |
| 672 | col: self.col(col), |
| 673 | order, |
| 674 | numeric: false, |
| 675 | }); |
| 676 | self |
| 677 | } |
| 678 | |
| 679 | pub fn order_by_asc(self, col: &str) -> Self { |
| 680 | self.order_by(col, CsvOrder::Asc) |
| 681 | } |
| 682 | |
| 683 | pub fn order_by_desc(self, col: &str) -> Self { |
| 684 | self.order_by(col, CsvOrder::Desc) |
| 685 | } |
| 686 |
no test coverage detected