clustering works, started on ordering data