diff --git a/vendor/model/FinancialCategories.class.php b/vendor/model/FinancialCategories.class.php index 2130da0..4cdf76e 100644 --- a/vendor/model/FinancialCategories.class.php +++ b/vendor/model/FinancialCategories.class.php @@ -108,7 +108,7 @@ class FinancialCategories $this->type = $type; /** Consulta SQL */ - $this->sql = 'select * from financial_categories where type = \''.$this->type.'\''; + $this->sql = 'select * from financial_categories where type = \''.$this->type.'\' order byn description asc'; /** Preparo o SQL para execução */ $this->stmt = $this->connection->connect()->prepare($this->sql);