s4-socket: use TYPESAFE_QSORT() in netif code