On Tue, Oct 12, 2010 at 10:23 AM, Alan Gauld <alan.ga...@btinternet.com>wrote:

>
> "David Hutto" <smokefl...@gmail.com> wrote
>
>  > Did you include an ORDER BY?
>>
>> See three posts above, line 6.
>>
>
>
> Just a guess.  You strip the letter u from your list items.  Is there a
letter u in each of them?  You are sorting on the item before you strip the
u.  So, if the one strange item in your list has a u in front, but no others
do, it will end up ordering as in your results.


>                for graphname in self.orderbygname:
>                        self.liorder.append(str(graphname[0]).lstrip('u'))
>
> __________________________________________
>


-- 
Joel Goldstick
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to