anchor.diff:  %%======================================================================
   settingsPage(User, List) ->
       %% Get web settings.
  -    UserCfg      = eTodoDB:readUserCfg(User),
  -    WebSettings  = default(UserCfg#userCfg.webSettings, []),
  -    DefStatus    = proplists:get_value("filterStatus", WebSettings, ?descDef),
  -    DefPrio      = proplists:get_value("filterPrio",   WebSettings, ?descDef),
  -    DefListType  = proplists:get_value("listType",     WebSettings, ?descDef),
  -    DefSortOrder = proplists:get_value("sortOrder",     WebSettings, ?descDef),
  +    UserCfg       = eTodoDB:readUserCfg(User),
  +    WebSettings   = default(UserCfg#userCfg.webSettings, []),
  +    DefStatus     = proplists:get_value("filterStatus", WebSettings, ?descDef),
  +    DefPrio       = proplists:get_value("filterPrio",   WebSettings, ?descDef),
  +    DefListType   = proplists:get_value("listType",     WebSettings, ?descDef),
  +    DefSortOrder  = proplists:get_value("sortOrder",    WebSettings, ?descDef),
  +    DefSortOrder2 = proplists:get_value("sortOrderSec", WebSettings, ?descDef),
   
       StatusList = [?descDef, ?descPlanning, ?descInProgress,
                     ?descDone, ?descNA, ?descAll],
  
positive.code: dataCellCSS3(Text, Extra, "done", Uid) ->
      CompactId = "compactDesc" ++ toStr(Uid),
      tdTag([{class, "data3 done"},
          {id, CompactId}] ++ Extra, [makeHtml(Text, "/priv")]);
  dataCellCSS3(Text, Extra, _StStr, Uid) ->
      CompactId = "compactDesc" ++ toStr(Uid),
      tdTag([{class, "data3"},
  
negative.code: sortETodos(User, ETodos) ->
      UserCfg  = eTodoDB:readUserCfg(User),
      Settings = default(UserCfg#userCfg.webSettings, []),
      Sorting1 = proplists:get_value("sortOrder",    Settings, ?descDef),
      Sorting2 = proplists:get_value("sortOrderSec", Settings, ?descDef),
      ETodos2  = doSortETodos(Sorting2, ETodos), %% Secondary sort order
      doSortETodos(Sorting1, ETodos2).
  
  %% Sorting alternatives
  %% ?descDef, ?status, ?prio, ?description, ?createTime
  