You need to sign in to do that
Don't have an account?
![Nish321 Nish321](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Sort by version numbers
Any idea how to sort version numbers in descending order.
Currently, my code is : versionList = [Select Id,Name from Version__c where Product__c=:prd and Active__c=true order by Name desc];
Still the version numbers are unordered. Eg: 8.1.0, 8.2.1, 8.10.1.
Currently, my code is : versionList = [Select Id,Name from Version__c where Product__c=:prd and Active__c=true order by Name desc];
Still the version numbers are unordered. Eg: 8.1.0, 8.2.1, 8.10.1.