reorder Key Products works, tiids returned from API in db order.

Works by making sure get_products_from_tiids respects the order of
tiids it was handed.
Merge branch 'master' of github.com:total-impact/total-impact-webapp
reorder Key Metrics works.