Booth numeric sorting