trying to swap two elements of a list by using lambda expression, but it is not working. can someone tell me why it doesn\'t work?