anchor.diff:  
   %% @doc Fetch the first title from the record for sorting.
   get_pivot_title(Id, Context) ->
  -    get_pivot_title([{title, m_rsc:p(Id, title, Context)}]).
  +    z_string:to_lower(get_pivot_title([{title, m_rsc:p(Id, title, Context)}])).
   
   get_pivot_title(Props) ->
       case proplists:get_value(title, Props) of
           {trans, []} ->
               "";
           {trans, [{_, Text}|_]} ->
  -            Text;
  -        T -> T
  -    end.    
  +            z_string:to_lower(Text);
  +        T -> 
  +            z_string:to_lower(T)
  +    end.
   
   %% get_pivot_data {objids, catids, [ta,tb,tc,td]}
   get_pivot_data(Id, Context) ->
  
positive.code: %% @doc Return a modified property list with fields that need immediate pivoting on an update.
  pivot_resource_update(Props) ->
      {DateStart, DateEnd} = pivot_date(Props),
      [
          {pivot_date_start, DateStart},
          {pivot_date_end, DateEnd},
          {pivot_date_start_month_day, month_day(DateStart)},
          {pivot_date_end_month_day, month_day(DateEnd)}
          | Props
      ].
      
  
negative.code:     {[Value|A], B};
  fetch_texts({subtitle, Value}, {A,B}, _Context) ->
      {[Value|A], B};
  fetch_texts({name_surname, Value}, {A,B}, _Context) ->
      {[Value|A], B};
  fetch_texts({name_first, Value}, {A,B}, _Context) ->
      {[Value|A], B};
  fetch_texts({F, Value}, {A,B}, _Context) when is_binary(Value) ->
      case do_pivot_field(F) of
  