This needs to be written as an SQL query as there's no way I can see in DataMapper to order a result set by a column in a joined table (the election date).