restores List's sort-by, adds some location comparisons in error and a terser way of printing locations (skipping the filename), and uses those to print the list of compilation errors tersely and in sorted order.  Fixes #150.