Sorting triangles 2