Sort tools by new position attribute