Fix a bug in `fission function logs` due to which logs with the same timestamp were printed in the wrong order.