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
V AnandV Anand 

How to print leads in visualforce which follows insertion order.

If displaying  leads in visualforce they are not following insertion order.

please anyone help me to print leads in insertion order.

my contoller is like this

 

  public list<lead> getUnas() {  

list<lead> cc=[select created_time__c,id,quemember__c,ownerid,lastname,company,status,email from lead where ownerid=\'00G90000000OTUm\' order by created_time__c];

return cc;

}