/* s w a p N u m b e r s  */
returnValue Indexlist_swapNumbers(Indexlist *_THIS, int number1, int number2)
/* s w a p N u m b e r s  */
returnValue Indexlist_swapNumbers(Indexlist *_THIS, int number1, int number2)
{
	int index1 = Indexlist_findInsert( _THIS,number1 );
	int index2 = Indexlist_findInsert( _THIS,number2 );
	int tmp;
	if ( ( _THIS->number[_THIS->iSort[index1]] != number1 ) || ( _THIS->number[_THIS->iSort[index2]] != number2 ) )
		return THROWERROR( RET_INDEXLIST_CORRUPTED );
	tmp = _THIS->number[_THIS->iSort[index1]];
	_THIS->number[_THIS->iSort[index1]] = _THIS->number[_THIS->iSort[index2]];
	_THIS->number[_THIS->iSort[index2]] = tmp;
	tmp = _THIS->iSort[index1];
	_THIS->iSort[index1] = _THIS->iSort[index2];
	_THIS->iSort[index2] = tmp;
	return SUCCESSFUL_RETURN;
}