﻿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
24747	Allow transforms in order_by	Ben Buchwald	Matthew Wilkes	"The extension of lookups to support transforms is great, but I'd like to be able to order by a transformed field.

As a use case, let's say I define a length transform. I filter by length such as {{{Song.objects.filter(title__length__gt=10)}}}, but I think it makes sense that I ought to also be able to sort by this transform, for instance: {{{Song.objects.all().order_by('title__length')}}}

The related ticket #24629 points out that Func expressions should be usable as transforms. Although in 1.8 I could get the desired sort by ordering by the Length func expression, I feel that the reverse should also be true, that I should be able to order by a transform."	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed		josh.smeaton@…	Ready for checkin	1	0	0	0	0	0
