SortBy (Models & Assocs) + Bugfix in Resource url