Python Sort Using Lambda In Geeksforgeeks Java