added sorted locked variants