models sorted by endpoint
fix for escaped uri; changed model sort method