fix boolean sort in ascending order

See #403