+ 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;