added seconds to time variables to (hopefully) fix sorting