Added orderings model to correctly sort tools within groups