sort interfaces