Consistent numeric boolean ordering