[DEBUG] time sorting