sort simple_index indexes by name

Prevent different users from suffering huge model diffs due to random change of ordering.

Similar to #79 but applies when using simple_index.