<div dir="auto">Should we separate sorting the view from sorting the model, or the UI model object from the actual domain object/data? Eliot wants to view the list sorted and Chris insists not to break a deliberate order of repositories in the model because other functionality depends on it. Disconnect them.<div dir="auto"><br></div><div dir="auto">The bytes on my disk do not move when I sort a list of files by name.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu">leves@caesar.elte.hu</a>> schrieb am Mi., 1. Juli 2020, 13:40:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 30 Jun 2020, Chris Muller wrote:<br>
<br>
> On Tue, Jun 30, 2020 at 7:59 PM Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu" target="_blank" rel="noreferrer">leves@caesar.elte.hu</a>> wrote:<br>
>       On Tue, 30 Jun 2020, Chris Muller wrote:<br>
><br>
>       > Hi Eliot,<br>
>       > The order of repositories is part of the model, sorting them conceptually breaks a couple of MC's use-cases.  Would list-filtering help you find the repository you seek amongst your list of 40 repositories?<br>
><br>
>       What model is it part of?<br>
> <br>
> <br>
> Monticello's.  MCWorkingCopyBrowser's.<br>
>  <br>
>       And if it is, how come the GUI doesn't let you change that order?<br>
> <br>
> <br>
> It's "demote to bottom" on the menu.  But it seemed to have gotten broke due to the #repositories list always being sorted.<br>
<br>
That's a really poor way to make the list sortable. In my opinion there <br>
should be the following options if that's the goal: alphabetize, move <br>
down, move up, move to front, move to end (this is the one called demote <br>
now which is not a good name IMO).<br>
<br>
<br>
Levente<br>
<br>
> <br>
> My hope is that Eliot's use-case is for only when there are no WorkingCopy's selected, thus showing _all_ repositories -- because we can sort that output.  But sorting as far as when an individual WorkingCopy is selected, it<br>
> breaks one or two use cases.<br>
> <br>
>  - Chris<br>
> <br>
><br>
</blockquote></div>