allow order change in JS
implement order change on python
remove debug message in templates