Feature - Model array sorting

This PR adds a couple helpful methods for sorting/re-indexing a model array and for checking if a given attribute exists (even if its aliased).

#easymode