Add ability to order by custom field