original_string: public static function sort_items($a, $b)
  	{
  		$a_date = $a->get_date('U');
  		$b_date = $b->get_date('U');
  		if ($a_date && $b_date) {
  			return $a_date > $b_date ? -1 : 1;
  		}
  		// Sort items without dates to the top.
  		if ($a_date) {
  			return 1;
  		}
  		if ($b_date) {
  			return -1;
  		}
  		return 0;
  	}
code: public static function sort_items($a, $b)
  	{
  		$a_date = $a->get_date('U');
  		$b_date = $b->get_date('U');
  		if ($a_date && $b_date) {
  			return $a_date > $b_date ? -1 : 1;
  		}
  		// Sort items without dates to the top.
  		if ($a_date) {
  			return 1;
  		}
  		if ($b_date) {
  			return -1;
  		}
  		return 0;
  	}
code_tokens: public static function sort_items ( $ a , $ b ) { $ a_date = $ a -> get_date ( 'U' ) ; $ b_date = $ b -> get_date ( 'U' ) ; if ( $ a_date && $ b_date ) { return $ a_date > $ b_date ? - 1 : 1 ; } // Sort items without dates to the top. if ( $ a_date ) { return 1 ; } if ( $ b_date ) { return - 1 ; } return 0 ; }
docstring: Sorting callback for items
  
  @access private
  @param SimplePie $a
  @param SimplePie $b
  @return boolean
docstring_tokens: Sorting callback for items