Added sort and filter to layer list API
Minor syntax updates
Merge pull request #703 from tbarsballe/list-layer

Added sort and filter to layer list API