Sort Arraylist Using Lambda Python Logging Tutorial