remove index column, allow reordering only when not sorted

- Also minor trailing space issues and no newline at end of files that
  were auto-fixed by atom

Signed-off-by: Benjamin Kaiser <benjaminjkaiser@gmail.com>