newrows = rows.sort(lambda row: row.id) See http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#find,-exclude,-sort .
Anthony On Tuesday, August 13, 2013 12:21:33 PM UTC-4, sasogeek wrote: > > if i join 2 selections via rows = A | B for example, how do i make sure > that rows is arranged via the table id, like in .select(orderby= > db.table.id) ? > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

