Sort Arraylist Using Lambda Python Documentation Random