There was an unused error value as well as unnecessary usage of the sort interface. There should now be less copying so a bit better performance in some cases.