Array Sort In Java Using Lambda Python Examples Using While Loop