Added sort directive and wired it up to the api call