Inline default layer sort function to avoid unnecessary function call

No match.