public override int Compare(ClaimLine first, ClaimLine second)
 {
     if (DESC)
     {
         if (first.TotalCharge < second.TotalCharge)
         {
             return(1);
         }
         else if (first.TotalCharge > second.TotalCharge)
         {
             return(-1);
         }
     }
     else
     {
         if (first.TotalCharge < second.TotalCharge)
         {
             return(-1);
         }
         else if (first.TotalCharge > second.TotalCharge)
         {
             return(1);
         }
     }
     return(0);
 }
Ejemplo n.º 2
0
 public override int Compare(ClaimLine first, ClaimLine second)
 {
     if (DESC)
     {
         if (first.RVU < second.RVU)
         {
             return(1);
         }
         else if (first.RVU > second.RVU)
         {
             return(-1);
         }
     }
     else
     {
         if (first.RVU < second.RVU)
         {
             return(-1);
         }
         else if (first.RVU > second.RVU)
         {
             return(1);
         }
     }
     return(0);
 }
 public override int Compare(ClaimLine first, ClaimLine second)
 {
     if (DESC)
     {
         return(first.RevCode.CompareTo(second.RevCode) * -1);
     }
     return(first.RevCode.CompareTo(second.RevCode));
 }