fixed vertices sorting by label