added maplayer.sort()
make sure every function returns maplayer instance
allowing to sort maplayer paths via .sort()