(mut self, logic: CsvLogic, col: &str, op: CsvCompare, value: f64)
| 683 | pub fn order_by_desc(self, col: &str) -> Self { |
| 684 | self.order_by(col, CsvOrder::Desc) |
| 685 | } |
| 686 | |
| 687 | pub fn order_by_num(mut self, col: &str, order: CsvOrder) -> Self { |
| 688 | self.sort = Some(CsvSort { |
| 689 | col: self.col(col), |
| 690 | order, |
| 691 | numeric: true, |
| 692 | }); |
| 693 | self |
| 694 | } |
| 695 | |
| 696 | pub fn order_by_num_asc(self, col: &str) -> Self { |
| 697 | self.order_by_num(col, CsvOrder::Asc) |
| 698 | } |
no test coverage detected