You are here

function _total_sort in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_payment/uc_payment.module \_total_sort()

File

payment/uc_payment/uc_payment.module, line 430

Code

function _total_sort($a, $b) {
  if ($a[0] == $b[0]) {
    return 0;
  }
  return $a[0] < $b[0] ? -1 : 1;
}