added sorting on analyze areas
Merge branch 'sorting'