Backout changeset 2b87af168281e2df2f6a242124bee9bf68787db6.
Sorting is fixed now, so backout part of changeset 14a0d37cedb323f3ff4241174fc83ebb7f1a2f3e.
Added some stuff to .hgignore