src/Alg/Sort/MapList.php
public static function sort( $data, $key, $direction = self::DIRECTION_ASC )
	{
		return self::sortByMultipleColumns( $data, array( $key => $direction ) );
	}
public static function sort( $data, $key, $direction = self::DIRECTION_ASC )
	{
		return self::sortByMultipleColumns( $data, array( $key => $direction ) );
	}
public static function sort ( $ data , $ key , $ direction = self :: DIRECTION_ASC ) { return self :: sortByMultipleColumns ( $ data , array ( $ key => $ direction ) ) ; }
Sorts a List of associative Arrays by a Column and Direction.
@access		public
@static
@param		array		$data		List of associative Arrays
@param		string		$key		Column to sort by
@param		int			$direction	Sort Direction (0 - ::DIRECTION_ASC | 1 - ::DIRECTION_DESC)
@return		array
Sorts a List of associative Arrays by a Column and Direction .