Sort profile by time