Java Stream Sort Function In Python Time