anchor.diff:  
   
   %% Add an ORDER clause.
  +add_order(Order, Search) when is_atom(Order) ->
  +    add_order(atom_to_list(Order), Search);
  +add_order(Order, Search) when is_binary(Order) ->
  +    add_order(binary_to_list(Order), Search);
   add_order("seq", Search) ->
       case proplists:get_value(edge, Search#search_sql.tables) of
           L when is_list(L) -> add_order(L++".seq", Search);
  
positive.code:                         tables=[{rsc, "rsc"}]},
      Query1 = filter_empty(Query),
      case parse_query(Query1, Context, Start) of
          [] -> #search_result{};
          #search_result{} = Result -> Result;
          Start -> #search_result{};
          R ->
              %% add any sort terms
              R1 = parse_sort(Query1, R),
              %% add default sorting
              add_order("-rsc.id", R1)
      end.
  
  
  
  parse_request_args(Args) ->
  
negative.code: empty_term(_) ->
      false.
  
  parse_query([], _Context, Result) ->
      Result;
  
  