function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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.