added application sorting to dashboard view models
fixed issue with vacancy details page not showing correct "apply" link