Fixed sorting in batterylog [Issue #30]