fix display of contacts' recurring contributions
https://rt.gnu.org/Ticket/Display.html?id=
1176733
if you look at a contact, click contributions, then click on "view" next
to a recurring payment (not all users have these), then the server would
crash and give a backtrace. this patch fixes that issue.
the issue was due to a sort-by-id failing because multiple tables are
queried, more than one of which has an id column. therefore the "id"
column name was redundant and threw an SQL error. this patch specifies
the desired table with the specified id column.
i worked a bit on this patch and received help from ruben, who corrected
my less than perfect original patch.