sorted deeply nested directives and add compass css sprite support