adding some sorting features via angular.js filter