• KRITHIKA BALASUBRAMANIAN
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hi Guys,

 

I was wondering if anybody can help me sort a wrapper class by Date.

 

I have data from three object going into a list variable. How do i then sort the list by date (decending)?

 

public class history
{
     public String  title   {get; set;}
     public String  Description   {get; set;}
     public String  primaryAccount  {get; set;}
     public datetime createdDated   {get; set;}
     public string  modifiedBy  {get; set;}
     public String  createdBy  {get; set;}
     public String  HistoryType  {get; set;}
     public String  Status   {get; set;}
     public integer  num   {get; set;} 
}

 

Thanks

 

Hi To all,

How to call External(.net) webservice from Salesforce???

& how to use that webservices in APEX classes & triggers????

Thanks,

Krishna.