Interface Archives

Comparable Interface in Apex

Author - Webner

When we have to sort a custom object list, based on a field, we try doing it by SOQL query ORDER BY but sometimes due to any constraint or some complex requirements we need to sort the list in Apex itself, then we have Sort method but that also does Read more…