sort by index, masses snow2 style