Fix to bespoke dataTables to ensure that they sort correctly when displayed