I\'m trying to sort nested list like this: [[id_num, x_coord, y_coord, z_coord, value], ...]
[[id_num, x_coord, y_coord, z_coord, value], ...]
What I need, is to reduce items in the initial list by distance