]> git.siccegge.de Git - teilnehmertool.git/commitdiff
Fix sorting
authorChristoph Egger <Christoph.Egger@fau.de>
Thu, 3 Oct 2013 10:51:53 +0000 (12:51 +0200)
committerChristoph Egger <Christoph.Egger@fau.de>
Thu, 3 Oct 2013 10:51:53 +0000 (12:51 +0200)
teilnehmertool.py

index a1530c6a8e1433e6b676e1d432c74a3915ac0880..bc77a2873274ac5d89133b7a3f3b578620aa533e 100755 (executable)
@@ -148,7 +148,7 @@ def create_bmbf_list(outdir = 'output'):
     teilnehmer = []
     i = 1
     for vor, nach, hochschule in \
     teilnehmer = []
     i = 1
     for vor, nach, hochschule in \
-        conn.execute("SELECT vorname, nachname, hochschule FROM teilnehmer ORDER BY nachname DESC"):
+        conn.execute("SELECT vorname, nachname, hochschule FROM teilnehmer ORDER BY UPPER(nachname) ASC"):
 
         vor = vor.decode('utf8')
         nach = nach.decode('utf8')
 
         vor = vor.decode('utf8')
         nach = nach.decode('utf8')