<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Since QGIS 3, the configuration is already stored as list
(ordered) and no longer as map (unordered) like in QGIS 2. So it
should mostly be there.</p>
<p>What's missing apparently is that the "load the values from CSV"
button does not preserve the order.</p>
<p>I can have a look at that in a bugfixing sprint.</p>
<p>Meanwhile you can type the values manually instead of loading
them from CSV as a workaround</p>
<p>Matthias<br>
</p>
<div class="moz-cite-prefix">On 3/22/19 4:21 PM, Tim Sutton wrote:<br>
</div>
<blockquote type="cite"
cite="mid:12822B60-EBD7-4120-8940-250B17ADC95B@kartoza.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 22 Mar 2019, at 15:04, Andreas Neumann <<a
href="mailto:a.neumann@carto.net" class=""
moz-do-not-send="true">a.neumann@carto.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">Hi,</p>
<p class="">The alternative (workaround) is to put your
values in another table and link them through a shared
key. Then the sorting works fine. Also the relation
reference widget (which requires a relation) sorts
values fine.</p>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Yeah I tried that, the problem is I want to reference the
lookup list from the same table:</div>
<div><br class="">
</div>
<div>Flowering_month -> months table</div>
<div>Fruiting_month -> months table</div>
<div>Pruning_month -> months table</div>
<div><br class="">
</div>
<div>If I try to use the relation system for that the months
table is removed as a relatable table after it has been used
once (another bug maybe)?</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">Of course this doesn't mean the bug in the
value map shouldn't be fixed. You can ask a developer
familiar with the widgets (e.g. Matthias or someone
else familiar with the widgets) to fix it, as part of
our bug fixing program.</p>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Yeah it would db great if you could fix that next time
you are doing paid bug fixing @mathias - seems like a basic
thing that should ‘just work’.</div>
<div><br class="">
</div>
<div>Thanks for the replies Giovanni and Andreas.</div>
<div><br class="">
</div>
<div>Regards</div>
<div><br class="">
</div>
<div>Tim</div>
<div><br class="">
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">Greetings,</p>
<p class="">Andreas<br class="">
</p>
<p class=""><br class="">
</p>
<div class="moz-cite-prefix">Am 22.03.19 um 15:26
schrieb Giovanni Manghi:<br class="">
</div>
<blockquote type="cite"
cite="mid:CACfnYnQs+Y_7w8=yv4TRTc7QN-qqaEoFe-DzcunzjVuNQpgzaw@mail.gmail.com"
class="">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8" class="">
<div dir="ltr" class=""><br class="">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> I am using a
value map lookup to let the user select a month
on a form. I used the ‘Load Data from Layer
option and the months are displayed in a
somewhat random looking order. Is there any
trick to getting the values to display in
ascending order of the key? Or is this a bug?<br
class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Hi Tim,</div>
<div class="">is a long standing bug.</div>
<div class=""><br class="">
</div>
<div class="">cheers!</div>
<div class=""><br class="">
</div>
<div class="">-- G --<br class="">
</div>
</div>
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
</div>
_______________________________________________<br
class="">
QGIS-Developer mailing list<br class="">
<a href="mailto:QGIS-Developer@lists.osgeo.org" class=""
moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br
class="">
List info:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; font-weight: normal; letter-spacing: normal;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
line-height: normal; text-align: center;" class=""><span>—</span></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; letter-spacing: normal; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing:
0px; -webkit-text-stroke-width: 0px; line-height: normal;
text-align: center;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
initial; text-decoration: none; font-variant-ligatures:
normal; font-variant-position: normal;
font-variant-numeric: normal; font-variant-alternates:
normal; font-variant-east-asian: normal; margin: 0px;
line-height: normal; -webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br class="">
</div>
<br class="Apple-interchange-newline" style="caret-color:
rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: center; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; text-decoration: none;"><span><span><span><span><span><span><span><span><span><span><img
apple-inline="yes"
id="157D85EF-3E94-49DF-996E-5B23E9D89E7F"
src="cid:part6.410F9A00.60EFE6AC@opengis.ch" class=""></span>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Tim Sutton</b></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Co-founder:</b><span
class="Apple-converted-space"> </span>Kartoza</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Ex Project
chair:</b><span style="font-weight:
normal;" class=""><span
class="Apple-converted-space"> </span><a
href="http://QGIS.org" class=""
moz-do-not-send="true">QGIS.org</a></span></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Visit <a
href="http://kartoza.com/" class=""
moz-do-not-send="true"><span
style="-webkit-text-stroke-color:
rgb(71, 135, 255);" class="">http://kartoza.com</span></a> to
find out about open source:</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Desktop GIS programming
services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Geospatial web
development</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">GIS Training</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Consulting Services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Skype</b>:
timlinux </div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">IRC:</b><span
class="Apple-converted-space"> </span>timlinux
on #qgis at <a
href="http://freenode.net" class=""
moz-do-not-send="true">freenode.net</a></div>
</span></span></span></span></span></span></span></span></span></span></div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="moz-signature">
<title></title>
<div class="moz-signature"> <span style="text-align: left;
color: #000000; font-family: 'Verdana', sans-serif;
font-size: 10pt">Matthias Kuhn</span><br>
<a href="mailto:matthias@opengis.ch" target="_blank"> <span
style="text-align: left; color: #000000; font-family:
'Verdana', sans-serif; font-size: 8pt">matthias@opengis.ch</span>
</a><br>
<span style="text-align: left; color: #000000; font-family:
'Verdana', sans-serif; font-size: 8pt"><a
href="tel:+41764356763">+41 (0)76 435 67 63</a></span><br>
<div> <a href="http://www.opengis.ch"> <img
moz-do-not-send="false"
src="cid:part12.AE8A690E.F0A74A84@opengis.ch"
alt="OPENGIS.ch Logo" width="200" height="80"></a> </div>
</div>
</div>
</div>
</body>
</html>