Implemented ordering in cms modules

Implemented ordering in cms modules