Support __future__ imports and sorting into chunks.
Make sort deterministic for same-characters-different-case.