Activity › Forums › Salesforce® Discussions › How to sort contact according to last modification of contact ??? Salesforce® Discussions How to sort contact according to last modification of contact ??? Posted by Shubham on July 7, 2017 at 11:56 AM We want contact which is latestly modify shariq replied 8 years, 11 months ago 3 Members · 2 Replies 2 Replies Augustya Karavat Member July 11, 2017 at 9:15 AM @subham Can you please elaborate the scenario. As the problem statement, use OrderBy LastModifiedDate ASC in the Query while displaying the List of Contacts. [adinserter block='9'] shariq Member July 11, 2017 at 1:30 PM Hi Shubham, By Assuming your scenario, you need to use Order By Clause on field LastModifiedDate. Example : [SELECT Id, Name FROM Contact Order By LastModifiedDate DESC] Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me