Added sort and filter to layer list API