got merge sort working, need to implement a sort by position
got neighbors to populate, need to refactor later