
	search(vector: Array, value: Object, [insert: Boolean = false]): Integer
	
		Do a binary search on an *ordered* array, if it's not ordered, the behaviour is undefined.
		The function can return the index of the searched object as well the the index where it should be
		inserted to keep the array ordered.
		
			vector array that will be looked up
			value object that will be searched
			insert
			
				if true, the function will return the index where the value should be inserted
				to keep the array ordered, otherwise returns the index where the value was found
				or -1 if it wasn't found
		
	
