siddharthvp opened a new issue #18316:
URL: https://github.com/apache/airflow/issues/18316


   ### Apache Airflow version
   
   2.0.2
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   NA
   
   ### Deployment
   
   MWAA
   
   ### Deployment details
   
   NA
   
   ### What happened
   
   When listing DAGs that have numbers in the IDs, Airflow lists DAGs in 
lexicographic order. 
   
   Observed order:
   test_dag_1
   test_dag_10
   test_dag_2
   test_dag_3
   
   
   
   ### What you expected to happen
   
   Desired order: 
   test_dag_1
   test_dag_2
   test_dag_3
   test_dag_10
   
   ### How to reproduce
   
   Create a set of DAGs with IDs test_dag_N with various values of N.
   
   ### Anything else
   
   
https://softwareengineering.stackexchange.com/questions/127639/why-do-some-sorting-methods-sort-by-1-10-2-3/127644
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to