id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 13312,Add a way to customize the order_by() of null fields,Sergey Dobrov,Mariusz Felisiak,"Applying order_by on null=True fields gives different results on mysql and pgsql: pgsql thinks that NULL values are bigger than any and mysql that smaller. I think that this must be unified on all engines for prevent problems with portability. pgsql has additional parameter for this: {{{ SELECT select_list FROM table_expression ORDER BY sort_expression1 [ASC | DESC] [NULLS { FIRST | LAST }] [, sort_expression2 [ASC | DESC] [NULLS { FIRST | LAST }] ...] }}} But I don't know how it on other engines.",New feature,closed,"Database layer (models, ORM)",dev,Normal,fixed,"ordering, order_by, null",contact@… serhiy.int@… markus.magnuson@… josh.smeaton@… github@…,Ready for checkin,1,0,0,0,0,0