private function timestampSort(SSLTrack $a, SSLTrack $b) { $a_ts = $a->getUpdatedAt(); $b_ts = $b->getUpdatedAt(); if ($a_ts > $b_ts) { return 1; } if ($a_ts == $b_ts) { return 0; } return -1; }