Sorting points into neighborhoods (SPIN): Data analysis and visualization by ordering distance matrices.