2/8/2014: vertex output sorted by y and then x