diff --git a/c/cli/mlrcli.c b/c/cli/mlrcli.c
index 9b9b694c6..9d8ed7cf1 100644
--- a/c/cli/mlrcli.c
+++ b/c/cli/mlrcli.c
@@ -28,6 +28,7 @@ static mapper_setup_t* mapper_lookup_table[] = {
&mapper_rename_setup,
&mapper_reorder_setup,
&mapper_sort_setup,
+ &mapper_sortv2_setup,
&mapper_stats1_setup,
&mapper_stats2_setup,
&mapper_step_setup,
diff --git a/c/input/reader_nidx.c b/c/input/reader_nidx.c
index 158a3788f..877d60d19 100644
--- a/c/input/reader_nidx.c
+++ b/c/input/reader_nidx.c
@@ -10,7 +10,6 @@ typedef struct _reader_nidx_state_t {
// ----------------------------------------------------------------
// xxx repeated ifs ...
-//
static lrec_t* reader_nidx_func(FILE* input_stream, void* pvstate, context_t* pctx) {
reader_nidx_state_t* pstate = pvstate;
diff --git a/c/mapping/mappers.h b/c/mapping/mappers.h
index ea9ab0405..4424ff01b 100644
--- a/c/mapping/mappers.h
+++ b/c/mapping/mappers.h
@@ -25,6 +25,7 @@ extern mapper_setup_t mapper_put_setup;
extern mapper_setup_t mapper_rename_setup;
extern mapper_setup_t mapper_reorder_setup;
extern mapper_setup_t mapper_sort_setup;
+extern mapper_setup_t mapper_sortv2_setup;
extern mapper_setup_t mapper_stats1_setup;
extern mapper_setup_t mapper_stats2_setup;
extern mapper_setup_t mapper_step_setup;
diff --git a/c/todo.txt b/c/todo.txt
index 4662a8ac2..b7b3304ee 100644
--- a/c/todo.txt
+++ b/c/todo.txt
@@ -1,21 +1,23 @@
================================================================
-! BUGFIX !
+! BUGFIXES !
---ofmt ignored in put. perhaps best to reglobalize.
+* --ofmt ignored in put. perhaps best to reglobalize.
+* nidx not handling empty values -- ?
================================================================
FEATURES
!! sort -nr !!
+ -> put uniq & count-distinct into the same file. then rm extraneous extern @ .h
!! quantiles !!
!! reminder pgr legend is broken !!
http://en.wikipedia.org/wiki/Order_statistic_tree
+! bulk rename cols 1,2,3,4,5 this,that,something,foo,bar
+! sub function. e.g. "300ms" -> "300"
+! ordered cut (a la reorder). either a new command (yeck) or cut option (e.g. cut -o)
* stats1 mode: lhmsi & then sort. what about "1"=="1.0"?
-! mod op!! (c-like, or sane) and put into wikidoc if so.
-* sub function. e.g. "300ms" -> "300"
-* bulk rename cols 1,2,3,4,5 this,that,something,foo,bar
-* ordered cut (a la reorder). either a new command (yeck) or cut option (e.g. cut -o)
+* mod op (either c-like, or sane) and put into wikidoc if so.
* impl/doc mlr check: no output
-* linreq-quality 2nd pass -- code it up in stats2 w/ -m {m} -b {b} -- ?
+* linreg-quality 2nd pass -- code it up in stats2 w/ -m {m} -b {b} -- ?
================================================================
NEATEN
diff --git a/doc/build.html b/doc/build.html
index da09ba407..b35de2f2c 100644
--- a/doc/build.html
+++ b/doc/build.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/contact.html b/doc/contact.html
index 1fe7b1bd9..8446a0cd1 100644
--- a/doc/contact.html
+++ b/doc/contact.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/data-examples.html b/doc/data-examples.html
index c5433725a..bee883813 100644
--- a/doc/data-examples.html
+++ b/doc/data-examples.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/etymology.html b/doc/etymology.html
index a61be6826..b03837a08 100644
--- a/doc/etymology.html
+++ b/doc/etymology.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/feature-comparison.html b/doc/feature-comparison.html
index 0c32b2a82..81507c281 100644
--- a/doc/feature-comparison.html
+++ b/doc/feature-comparison.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/file-formats.html b/doc/file-formats.html
index 9335605c0..d43bb55c5 100644
--- a/doc/file-formats.html
+++ b/doc/file-formats.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/index.html b/doc/index.html
index 8cc680bb6..50d710558 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/originality.html b/doc/originality.html
index b1eadaf3c..a6be0e38f 100644
--- a/doc/originality.html
+++ b/doc/originality.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/performance.html b/doc/performance.html
index 559c5d15d..5b9cb3648 100644
--- a/doc/performance.html
+++ b/doc/performance.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/record-heterogeneity.html b/doc/record-heterogeneity.html
index dccea6c86..347b5eec8 100644
--- a/doc/record-heterogeneity.html
+++ b/doc/record-heterogeneity.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/reference.html b/doc/reference.html
index b2e64d1eb..32777f60f 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/template.html b/doc/template.html
index 9c1be009d..c83ef906e 100644
--- a/doc/template.html
+++ b/doc/template.html
@@ -49,6 +49,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
POKI_PUT_PAGE_LIST_HERE
diff --git a/doc/to-do.html b/doc/to-do.html
index 8d90de99f..ca7d8fa8c 100644
--- a/doc/to-do.html
+++ b/doc/to-do.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
diff --git a/doc/whyc.html b/doc/whyc.html
index 8d70b26f9..03c5c211d 100644
--- a/doc/whyc.html
+++ b/doc/whyc.html
@@ -51,6 +51,11 @@ Miller commands were run with pretty-print-tabular output format.
+
+
Miller
| | | | | | | | | | | | | |