idnode: Fix sorting for bool and time types