Bit sorting (#1649) - Basecamp