Sort records by created time for show command