TOP/BOTTOM should place infinity and other special values to the bottom
Merge remote-tracking branch 'origin/master'