clean up coordinates helper, fix bug related to words not submitting: words were not being sorted due to prior refactor