Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One thing, currently script order is per File Name sort, sorting this way is not intuitive. #193

Closed
rdagumampan opened this issue Feb 11, 2021 · 4 comments

Comments

@rdagumampan
Copy link
Owner

One thing, currently script order is per File Name sort, sorting this way is not intuitive.

var list = new List<string>(new[]{ "v1.1", "v11.1", "v2.1" });
Console.WriteLine(string.Join(",", list));
//v1.1,v11.1,v2.1

list.Sort();
Console.WriteLine(string.Join(",", list));
//v1.1,v11.1,v2.1

Originally posted by @wahmedswl in #192 (comment)

@wahmedswl
Copy link
Contributor

yes, this is issue and we should have proper sorting. eg: DateTime or Version sort etc

@wahmedswl
Copy link
Contributor

Hi, is there anything that can be done to resolve this one? maybe behind flag etc or some sort of version schema that can be used that apply migration in order etc?

Thanks

@rdagumampan
Copy link
Owner Author

rdagumampan commented Mar 31, 2022

Hi @wahmedswl, can you try this release and let me know if it worka for you. Maybe its not what your looking, hope this helps.

Also I think in this has been fixed in the latest release v1.2.25

https://github.com/rdagumampan/yuniql/releases/tag/v1.3.2

@rdagumampan
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants