fixes #2543 - sort image listing with datatables