removes some of the reliance on order in convert to presentation

sorted, as sometimes they are provided in a different order causing the test
to randomly fail