$LAYER update its not yet broken for taking sort