fix sort attrs in list